question

Kumar avatar image
Kumar asked Chaitali answered

Getting Forbidden error in API

I am using ringcentral api for ringout in Dev sandbox. But unfortunately I am getting exception:

 "message": "Forbidden", "errorCode": "InternationalProhibited" 
rest api
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Anirban avatar image
Anirban answered

If you are using Dev sandbox as you said in your question, that is free service for developers on Sandbox, and international calling is prohibited there.

check the link:

https://forums.developers.ringcentral.com/questions/136/api-ringout.html

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Chaitali avatar image
Chaitali answered

Your sandbox account doesn't support international calling. Maybe the production env have this feature.

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys