question

point-of-rental-software3262 avatar image
point-of-rental-software3262 asked benjamin-dean commented

[OutboundSMS] permission required

I worked in sandbox  16503514555, and could send SMS . today it stopped and got error says 403 [OutboundSMS] permission required, I did not change anycode. is any way I can get permission back to send sms like before in sand box? it worked very well before.

https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/sms";
api permissions
1 |1000

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

benjamin-dean avatar image
benjamin-dean answered point-of-rental-software3262 commented
Which application is this please?
1 comment
1 |1000

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

point-of-rental-software3262 avatar image point-of-rental-software3262 commented ·
CallerLog_Private

0 Likes 0 ·
benjamin-dean avatar image
benjamin-dean answered benjamin-dean commented
I was unable to recreate this issue and have some diagnosing/debugging tests/questions you can run to isolate this issue further:

1. Does your extension's serviceFeatures include an object with the featureName === "SMS" && is enabled === true, respectively?

GET /restapi/v1.0/account/~/extension/~/ HTTP/1.1
Host: platform.devtest.ringcentral.com
Authorization: Bearer { {REPLACE_WITH_YOUR_ACCESS_TOKEN}}
Accept: application/json
Content-Type: application/json

The result will be details about the extension you are currently authenticated as via the API. The response will contain a "serviceFeatures" property which is an array of serviceFeatureObjects).

2. Is from.phoneNumber of your SMS POST body an SMS enabled phone number from which your authenticated user can send an SMS?

GET /restapi/v1.0/account/~/extension/~/phone-number HTTP/1.1
Host: platform.devtest.ringcentral.com
Authorization: Bearer { {REPLACE_WITH_YOUR_ACCESS_TOKEN}}
Accept: application/json
Content-Type: application/json

The result will be a list of phone numbers which your currently authenticated user is permitted able to set as "from.phoneNumber" while creating outbound communications. The response will contain a list of phoneNumberObjects and each object will have a "features" property which is an array of features enabled for that phoneNumberObject. Match your SMS from.phoneNumber to the phoneNumberObject records.phoneNumber and validate that "SmsSender" is a feature which is enabled for the phoneNumber you are using as the "from" of your SMS POST body please.

Please report the results of these tests here so I can help you appropriately.
5 comments
1 |1000

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

point-of-rental-software3262 avatar image point-of-rental-software3262 commented ·
Thank you for reply.
1. SMS  enabled is False. maybe that's why , but where can I change it to True? 

"featureName" : "SMS",    "enabled" : false,
    "reason" : "AccountLimitation"

2. https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/phone-number
 I get phone Number is : +16503514555
0 Likes 0 ·
benjamin-dean avatar image benjamin-dean commented ·
In this case, the reason is provided that it is an account-level limitation, this means you would need to contact support/sales to enable.

Since you stated this was working, but then it stopped as of yesterday...I have contacted our Engineering and Platform team about this change of state you have reported. Once I hear back from them, I will have more information.

0 Likes 0 ·
benjamin-dean avatar image benjamin-dean commented ·
I looked at the settings for your Sandbox account and it is a HIPAA Compliant account.

When a RingCentral account is a HIPAA Compliant account, SMS for the entire account is disabled for all users, phone numbers, and extensions.

Unless an administrator requested that HIPAA compliance be enabled for this Sandbox account, I am unsure how you were able to send an SMS initially (unless you were using a different account perhaps).
0 Likes 0 ·
yanmei avatar image yanmei commented ·
Our Administrator sent request to  Chris.Murphy on 11/18, but still did not get answer back yet. do you know who we should contact? thank you.
0 Likes 0 ·
benjamin-dean avatar image benjamin-dean commented ·
Chris would be the right person to start that conversation. I pinged him and asked if he could reply in-kind.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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