# /v2/phone/numbers 401 Unauthorized: “{“code”:124,”message”:”Invalid access token.”}”

**URL:** <https://devforum.zoom.us/t/v2-phone-numbers-401-unauthorized-code-124-message-invalid-access-token/79268>\
**Category:** API and Webhooks\
**Created:** [November 24, 2022, 8:32am UTC](https://devforum.zoom.us/t/v2-phone-numbers-401-unauthorized-code-124-message-invalid-access-token/79268 "2022-11-24T08:32:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ostap](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ostap/32/28361_2.png) [@ostap](https://devforum.zoom.us/u/ostap)\
**Post date:** [November 24, 2022, 8:32am UTC](https://devforum.zoom.us/t/v2-phone-numbers-401-unauthorized-code-124-message-invalid-access-token/79268/1 "2022-11-24T08:32:17Z")

</div>

**API Endpoint(s) and/or Zoom API Event(s)**  
/v2/phone/numbers

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

**Description**  
We have started getting this error for one of our clients with `/v2/phone/numbers`.  
Other endpoints work as expected for this client.  
Other clients that use the same flow do not get this error.  
There were no changes on our side.

**Error?**  
“{“code”:124,”message”:”Invalid access token.”}”

Would it be possible to investigate why specifically this request fails for specific client? I can provide more details privately if needed.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [November 28, 2022, 10:34pm UTC](https://devforum.zoom.us/t/v2-phone-numbers-401-unauthorized-code-124-message-invalid-access-token/79268/2 "2022-11-28T22:34:00Z")

</div>

Hi @ostap  
Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!  
Have you been able to resolve this issue or do you still need some guidance?  
When you say it only happens with one of your clients, can you confirm you can use the same access token to call other endpoints? what endpoints is your client able to call?

Thanks  
elisa

---

<div class="post-metadata">

**Author:** ![ostap](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ostap/32/28361_2.png) [@ostap](https://devforum.zoom.us/u/ostap)\
**Post date:** [November 29, 2022, 1:19pm UTC](https://devforum.zoom.us/t/v2-phone-numbers-401-unauthorized-code-124-message-invalid-access-token/79268/3 "2022-11-29T13:19:05Z")

</div>

Hello, yes the access token works for other endpoints, for example `/v2/contacts`. The errors have actually stopped yesterday. But it’s not clear if it is because of our client’s changes in zoom configuration (in which case we would like to handle this error better in our system) or something else like an invalid token.  
The issue was resolved with no changes from our side so it does not look like the latter.  
Is it possible to investigate exactly why errors were happening?

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [November 29, 2022, 2:59pm UTC](https://devforum.zoom.us/t/v2-phone-numbers-401-unauthorized-code-124-message-invalid-access-token/79268/4 "2022-11-29T14:59:50Z")

</div>

@ostap  
I am happy to hear that the errors have stopped happening.  
In order for me to investigate this further I would need an access\_token that you used and you got this error with.  
The only issue is that the token will most likely be expired so we won’t be able to use it to replicate this behavior.  
I am going to send you a private message to request some data that might help me debug this further.

Best,  
Elisa

---

<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:** [December 3, 2023, 6:36am UTC](https://devforum.zoom.us/t/v2-phone-numbers-401-unauthorized-code-124-message-invalid-access-token/79268/5 "2023-12-03T06:36:48Z")

</div>

Closed on December 3, 2023, 6:36am UTC

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