# Getting error:  "code": 2031 while executing get api for zoom phone

**URL:** <https://devforum.zoom.us/t/getting-error-code-2031-while-executing-get-api-for-zoom-phone/64881>\
**Category:** API and Webhooks\
**Created:** [February 25, 2022, 11:08am UTC](https://devforum.zoom.us/t/getting-error-code-2031-while-executing-get-api-for-zoom-phone/64881 "2022-02-25T11:08:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![amlesh.sengar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amlesh.sengar/32/55433_2.png) [@amlesh.sengar](https://devforum.zoom.us/u/amlesh.sengar)\
**Post date:** [February 25, 2022, 11:08am UTC](https://devforum.zoom.us/t/getting-error-code-2031-while-executing-get-api-for-zoom-phone/64881/1 "2022-02-25T11:08:13Z")

</div>

While executing Zoom phone API, we are receiving error " " **code": 2031, “message”: "Zoom Phone has not been enabled for this account**."}. Kindly assist us on this, so that we can successfully get the data.

Note: Scope for ZOOM phone has been enabled and App Type is OAuth.

---

<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:** [March 2, 2022, 10:12pm UTC](https://devforum.zoom.us/t/getting-error-code-2031-while-executing-get-api-for-zoom-phone/64881/2 "2022-03-02T22:12:09Z")

</div>

Hi @amlesh.sengar

Thanks for reaching out to the Zoom Developer Forum.  
I believe that this error is could be cause because the account associated with the OAuth app does not have a Zoom Plan added to the account.

Hope this helps,  
Elisa

---

<div class="post-metadata">

**Author:** ![amlesh.sengar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amlesh.sengar/32/55433_2.png) [@amlesh.sengar](https://devforum.zoom.us/u/amlesh.sengar)\
**Post date:** [March 3, 2022, 7:55am UTC](https://devforum.zoom.us/t/getting-error-code-2031-while-executing-get-api-for-zoom-phone/64881/3 "2022-03-03T07:55:06Z")

</div>

HI Elisa,

Please advise, how can we add Zoom Plan to the account associated ?

Thank you for quick response.

Regards,  
Harsh Vardhan

---

<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:** [March 4, 2022, 2:13pm UTC](https://devforum.zoom.us/t/getting-error-code-2031-while-executing-get-api-for-zoom-phone/64881/4 "2022-03-04T14:13:22Z")

</div>

Hi @amlesh.sengar

Here you will find some useful information about it:

> **[Video Conferencing, Web Conferencing, Webinars, Screen Sharing](https://zoom.us/pricing/zoom-phone)**
>
> Zoom is the leader in modern enterprise video communications, with an easy, reliable cloud platform for video and audio conferencing, chat, and webinars across mobile, desktop, and room systems. Zoom Rooms is the original software-based conference...

> **[Managing phone users](https://support.zoom.us/hc/en-us/articles/360021058071-Managing-phone-users)**
>
> As the Zoom account owner or admin, you can assign or remove Zoom Phone licenses. Assigning a Zoom Phone license to a user will automatically assign an extension number. You can also assign Zoom Ph...

If you need any help regarding this, feel free to reach out to our Support team here:  
[https://support.zoom.us/hc/en-us](https://support.zoom.us/hc/en-us)

Best,  
Elisa

---

<div class="post-metadata">

**Author:** ![matthias.u](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/matthias.u/32/35662_2.png) [@matthias.u](https://devforum.zoom.us/u/matthias.u)\
**Post date:** [March 8, 2022, 10:35am UTC](https://devforum.zoom.us/t/getting-error-code-2031-while-executing-get-api-for-zoom-phone/64881/5 "2022-03-08T10:35:07Z")

</div>

> [@elisa.zoom](#):
>
> I believe that this error is could be cause because the account associated with the OAuth app does not have a Zoom Plan added to the account.

Please actually investigate the issue instead of posting random guesses. I have the same problem (except for using JWT instead of OAuth). My account (a) is a zoom phone admin (b) has a plan associated.

> [@elisa.zoom](#):
>
> If you need any help regarding this, feel free to reach out to our Support team here:  
> [https://support.zoom.us/hc/en-us](https://support.zoom.us/hc/en-us)

Did you ever actually try this? I did, yesterday. I got a more-or-less-random canned reply and a request to re-submit the problem to [developersupport@zoom.us](mailto:developersupport@zoom.us). The answer I got from there displayed, I am sorry to say, that the person who replied didn’t actually read my question and thus was singularly unhelpful.

---

<div class="post-metadata">

**Author:** ![matthias.u](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/matthias.u/32/35662_2.png) [@matthias.u](https://devforum.zoom.us/u/matthias.u)\
**Post date:** [March 9, 2022, 11:28am UTC](https://devforum.zoom.us/t/getting-error-code-2031-while-executing-get-api-for-zoom-phone/64881/6 "2022-03-09T11:28:30Z")

</div>

Correction: simply forwarding an issue to developersupport@zoom doesn’t actually work because the email still gets attached to the original dialog. I had to create an entirely new message that does **not** refer to the original support ticket. _Sigh_.

---

<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:** [March 11, 2022, 9:04pm UTC](https://devforum.zoom.us/t/getting-error-code-2031-while-executing-get-api-for-zoom-phone/64881/7 "2022-03-11T21:04:42Z")

</div>

Hey @matthias.u  
I have picked up your ticket from our queue and will be working directly with you from there!  
Thanks  
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:** [April 11, 2022, 7:05am UTC](https://devforum.zoom.us/t/getting-error-code-2031-while-executing-get-api-for-zoom-phone/64881/8 "2022-04-11T07:05:36Z")

</div>

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