# Failed with status code 400 and body {"code":403,"message":"You do not have permission."}

**URL:** <https://devforum.zoom.us/t/failed-with-status-code-400-and-body-code-403-message-you-do-not-have-permission/68525>\
**Category:** API and Webhooks\
**Created:** [May 4, 2022, 8:57pm UTC](https://devforum.zoom.us/t/failed-with-status-code-400-and-body-code-403-message-you-do-not-have-permission/68525 "2022-05-04T20:57:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoom\_dev\_sandbox](https://avatars.discourse-cdn.com/v4/letter/z/bb73d2/32.png) [@zoom\_dev\_sandbox](https://devforum.zoom.us/u/zoom_dev_sandbox)\
**Post date:** [May 4, 2022, 8:57pm UTC](https://devforum.zoom.us/t/failed-with-status-code-400-and-body-code-403-message-you-do-not-have-permission/68525/1 "2022-05-04T20:57:02Z")

</div>

**Description**  
I am trying to get phone numbers records using next api: [https://api.zoom.us/v2/phone/numbers?type=all&page\_size=50](https://api.zoom.us/v2/phone/numbers?type=all&page_size=50), but get an error in response.

**Error**  
Failed with status code 400 and body {“code”:403,“message”:“You do not have permission.”}

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**[Which Endpoint/s?]**  
[https://api.zoom.us/v2/phone/numbers?type=all&page\_size=50](https://api.zoom.us/v2/phone/numbers?type=all&page_size=50)

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Request URL endpoint (using postman) using OAuth authorization with access token.
2. See error in response

**Additional context**  
My app has a phone:read:admin right access. What am I doing wrong? Maybe i need to enable some security rights in account settings?

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [May 5, 2022, 3:34am UTC](https://devforum.zoom.us/t/failed-with-status-code-400-and-body-code-403-message-you-do-not-have-permission/68525/2 "2022-05-05T03:34:11Z")

</div>

Hi, @zoom_dev_sandbox.

Welcome to the Developer Forum – happy to help. First, can you share if you have Zoom Phone account settings enable? To set these permissions, go to the **Zoom Web portal** \> **User management** \> **[Roles](https://zoom.us/role)** \> **Advanced features** section:

 ![Screen Shot 2022-05-04 at 11.26.13 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/6/d6a5e90631e96c278de8e9852ccf6645756f56f6.png)

---

<div class="post-metadata">

**Author:** ![zoom\_dev\_sandbox](https://avatars.discourse-cdn.com/v4/letter/z/bb73d2/32.png) [@zoom\_dev\_sandbox](https://devforum.zoom.us/u/zoom_dev_sandbox)\
**Post date:** [May 5, 2022, 8:28am UTC](https://devforum.zoom.us/t/failed-with-status-code-400-and-body-code-403-message-you-do-not-have-permission/68525/3 "2022-05-05T08:28:16Z")

</div>

Hi [donte.S](https://devforum.zoom.us/u/donte.S). Yes, both ‘view/edit’ options in ‘Zoom Phone’ section are enabled

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 4, 2022, 6:28pm UTC](https://devforum.zoom.us/t/failed-with-status-code-400-and-body-code-403-message-you-do-not-have-permission/68525/4 "2022-06-04T18:28:49Z")

</div>

Closed on June 4, 2022, 6:28pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
