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

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

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

Regards,
Ahmed

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

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

Thanks,
Will

Hi @will.zoom ,

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

Thanks a lot!

Regards,
Ahmed

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