News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
status 403, [OutboundSMS] permission required
Tags: permissions
Feb 13, 2017 at 7:10am   •   4 replies  •  0 likes
comiere-healthcare

it works in sandbox for sms:

Receipt(status=200, response={ "uri" : "https://platform.devtest.ringcentral.com/restapi/v1.0/account/665152005/extension/665152005/message-...;, "id" : 2682755004, "to" : [ { "phoneNumber" : "+16304235327", "location" : "Aurora, IL" } ], "from" : { "phoneNumber" : "+13234308604", "location" : "Montebello, CA" }, "type" : "SMS", "creationTime" : "2017-02-13T15:01:47.000Z", "readStatus" : "Read", "priority" : "Normal", "attachments" : [ { "id" : 2682755004, "uri" : "https://platform.devtest.ringcentral.com/restapi/v1.0/account/665152005/extension/665152005/message-...;, "type" : "Text", "contentType" : "text/plain" } ], "direction" : "Outbound", "availability" : "Alive", "subject" : "Test SMS using a RingCentral Developer account - test sms content", "messageStatus" : "Sent", "smsSendingAttemptsCount" : 1, "conversationId" : 6361148894337915435, "conversation" : { "id" : "6361148894337915435", "uri" : "https://platform.devtest.ringcentral.com/restapi/v1.0/conversation/6361148894337915435"; }, "lastModifiedTime" : "2017-02-13T15:01:48.059Z"}, key=null)


however it doesn't work in production:


Receipt(status=403, response={ "errorCode" : "FeatureNotAvailable", "message" : "[OutboundSMS] permission required", "errors" : [ { "errorCode" : "CMN-408", "message" : "[OutboundSMS] permission required", "permissionName" : "OutboundSMS" } ], "permissionName" : "OutboundSMS"}, key=null)




4 Answers
answered on Feb 21, 2017 at 7:32pm  
Before my SMS was working in production. now I am getting 403 responses, sandbox seems to be ok.
I already have SMS permission enabled.

 0
answered on Feb 13, 2017 at 12:33pm  
faxes works for production, but sms doesn't work, most likely SMS is disabled for the production phone number

settings is not editable after applied for production. I don't have ReadAccounts permission, I cannot invoke the get APIs to check if SMS enabled?

may I have the admin or any contact who can solve the issue for me?

 0
answered on Feb 13, 2017 at 8:57am  
I have tested this using my personal sandbox and production account (and the same application), and was unable to recreate the issue you reported.

I would recommend using the links I have provided above to be certain that the account/extension/phone number have SMS enabled as a feature prior to sending the SMS (and if they do not, and your app has a UI component, displaying the appropriate UI to the user for the unhappy path).

 0
answered on Feb 13, 2017 at 7:39am  
I am conducting some experiments right now to see if I am able to recreate this issue and if I do I will report this issue to our engineering team.

In the meantime, developers should keep in mind that unless the effort to match development (sandbox) accounts to closely match that of live (production) accounts, there are specific steps which should be taken to prevent these types of issues:


When a user first authenticates with your application you should get the account phone number list, and ensure the "features" for any company number you plan on sending an SMS with have "SmsSender" in the list:
https://developers.ringcentral.com/api-docs/latest/index.html#!#RefGetAccountInfo


Before attempting to send an SMS message, you should first verify the following:

1. The Extension has a phone number with the SMS feature enabled https://developers.ringcentral.com/api-docs/latest/index.html#!#RefGetExtensionPhoneNumbers

2. Check the User Permissions to be certain the user has SMS enabled: https://developers.ringcentral.com/api-docs/latest/index.html#!#RefGetUserPermissions (I WOULD RECOMMEND THIS FOR EVERY DEVELOPER AT ALL TIMES)

 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us