# Invalid short number length with POST request to add common area phone

**URL:** <https://devforum.zoom.us/t/invalid-short-number-length-with-post-request-to-add-common-area-phone/44448>\
**Category:** API and Webhooks\
**Created:** [February 28, 2021, 2:12am UTC](https://devforum.zoom.us/t/invalid-short-number-length-with-post-request-to-add-common-area-phone/44448 "2021-02-28T02:12:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![afahmy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/afahmy/32/23750_2.png) [@afahmy](https://devforum.zoom.us/u/afahmy)\
**Post date:** [February 28, 2021, 2:12am UTC](https://devforum.zoom.us/t/invalid-short-number-length-with-post-request-to-add-common-area-phone/44448/1 "2021-02-28T02:12:13Z")

</div>

**Description**  
I am trying to make a POST request to create a common area phone and i keep getting error message with 400 bad request.

**Error**  
{  
“code”: 400,  
“message”: “Invalid short number length.”  
}

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

**Which Endpoint/s?**  
POST [https://api.zoom.us/v2/phone/common\_area\_phones](https://api.zoom.us/v2/phone/common_area_phones)

**Screenshots (If applicable)**  
If applicable, add screenshots to help explain your problem.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/a/da66440ba7608301a4cc477f9bdf0787f6870cce.png)

Regards,  
Ahmed

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [March 1, 2021, 9:43pm UTC](https://devforum.zoom.us/t/invalid-short-number-length-with-post-request-to-add-common-area-phone/44448/2 "2021-03-01T21:43:58Z")

</div>

Hi @afahmy,

Do you have site code enabled? If so, can you confirm you’re passing a valid short extension number for this field?  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/c/8ccce38b00ac1158f0b4f2ed5dc616fe96947781.png)

Let me know if you’ve already confirmed these details.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![afahmy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/afahmy/32/23750_2.png) [@afahmy](https://devforum.zoom.us/u/afahmy)\
**Post date:** [March 1, 2021, 10:10pm UTC](https://devforum.zoom.us/t/invalid-short-number-length-with-post-request-to-add-common-area-phone/44448/3 "2021-03-01T22:10:01Z")

</div>

Hi @will.zoom ,

Brilliant!! This works. i should pay more attention to details 🙂

Thanks a lot!

Regards,  
Ahmed

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 1, 2021, 11:54pm UTC](https://devforum.zoom.us/t/invalid-short-number-length-with-post-request-to-add-common-area-phone/44448/4 "2021-03-01T23:54:16Z")

</div>

Hey @afahmy,

I’m glad to hear that @will.zoom resolved your issue! Please don’t hesitate to reach out if you encounter any further issues or questions.

Thanks,  
Max

---

<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 1, 2021, 9:54am UTC](https://devforum.zoom.us/t/invalid-short-number-length-with-post-request-to-add-common-area-phone/44448/5 "2021-04-01T09:54:29Z")

</div>

Closed on April 1, 2021, 9:54am UTC

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