question

Sean Marsh avatar image
Sean Marsh asked Sean Marsh commented

SMS API "Feature not available"

I created a new sandbox account for testing the SMS API. I then created a console app (per ringcentral instructions) and tested the API using the sand box credentials. Connecting to the API works fine but returns this error when trying to send a test SMS:

Content: {

"errorCode" : "FeatureNotAvailable",

"message" : "The requested feature is not available",

"errors" : [ {

"errorCode" : "MSG-242",

"message" : "The requested feature is not available"

} ]

}.

I have made sure I've added the correct features to the sandbox app (per the instructions) but it appears it is not setting the SMS feature to true.


This is a problem with the SANDBOX app, I haven't made it to production due to the fact I can't send an SMS in the sandbox app.

Thanks in advance.


sandboxapi sms
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.

Phong Vu avatar image
Phong Vu answered Sean Marsh commented

This problem should not happen as we fixed the process to include SMS feature to a sandbox main company number. I am not sure why it still happens time to time. Give me your sandbox main company number so I can ask the team to enable it manually for you.

5 comments
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.

+14242543150

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ Charter Flight Group ·

Enabled. You can use this sample code to double check.

https://developers.ringcentral.com/guide/messaging/quick-start

0 Likes 0 ·

+14242543819

0 Likes 0 ·

Enabled. You can use this sample code to double check.

https://developers.ringcentral.com/guide/messaging/quick-start

1 Like 1 ·
Sean Marsh avatar image Sean Marsh Phong Vu ♦♦ ·

Phong, It is working as expected. Thank you for your quick action.

I must say I'm pleasantly surprised by your quick action and resolution. I had opened a ticket 2 days ago and after 18 hours finally received a response that said (paraphrasing): "Email tech support with this problem. Ticket Closed".

I did email tech support with the exact same information I provided in this question (including the userId) and they responded with: "Please provide a sample of the issue as well for further investigation of this case if possible. This email will be automatically closed after at the end of the second business day if we do not receive any response .

Application Name:

Client ID or App Key:

Organization:

Request API:

API Response:

API Body:

".

That response is very annoying when clearly you have demonstrated it could have been resolved immediately with the provided information.

Anyway, I appreciate you! Thank you!

0 Likes 0 ·
Cote_Business Systems avatar image
Cote_Business Systems answered Sean Marsh commented

Are you connecting to the sandbox phonenumber (vs your live RC phonenumber)?


1 comment
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.

Yes, I'm using the sandbox credentials, not production or RC numbers. (userId, extension, key, secret)

0 Likes 0 ·
Charter Flight Group avatar image
Charter Flight Group answered

I am having the exact same issue. I am using the Sandbox phone number. I cannot connect to support either...keep getting an Error page. Also, I cannot seem to locate any information as it pertains to `Path Params->accountId` or `Path Params->extensionId` really frustrating.

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.

Charter Flight Group avatar image
Charter Flight Group answered

The `country` object returns errors as well.

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.

Charter Flight Group avatar image
Charter Flight Group answered

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.

Charter Flight Group avatar image
Charter Flight Group answered Phong Vu commented

Are the `accountId` and `extensionId` the same as the Username and Extension listed under `User Account Credentials`?

1 comment
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.

Normally the extensionId of the first user (the Super Admin created by default) is the same as accountId.

0 Likes 0 ·

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