question

e-z-u-r-s-dot-com5406 avatar image
e-z-u-r-s-dot-com5406 asked e-z-u-r-s-dot-com5406 commented

Send SMS in Production - MSG-242 Error

Good afternoon,

Today our company faced with an issue when we tried to send a SMS message from the Production environment.

Error object:

{
  "errorCode" : "FeatureNotAvailable
  "message" : "The requested feature is not available
  "errors" : [ {
    "errorCode" : "MSG-242",
    "message" : "The requested feature is not available"
  }]
}


I've tried to recreate it with by sending requests from your tool https://developers.ringcentral.com/api-reference/SMS/createSMSMessage
and it shows me the same error.

However the Sandbox environment works as expected: I'm able to send a SMS either through the tool or using API Calls.

I've also attached the screenshots of interaction with your portal below.
Note: I've used the Sandbox credentials.
Main form:

Response:

Application permissions:

Could you please provide a fix for this problem?

rest api
1582211151780.png (65.9 KiB)
1582211233199.png (24.2 KiB)
1582211326366.png (21.0 KiB)
1 |3000

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

I just sent an SMS message from my production account to make sure our SMS service is up and run normally. All works well.

Are you able to send SMS from your RingCentral softphone?

1 |3000

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 e-z-u-r-s-dot-com5406 commented

A similar issue I can find here

https://forums.developers.ringcentral.com/questions/1188/sending-sms-using-api-gives-error-code-msg-242-the.html

Please check the number once from where you are sending sms

1 comment
1 |3000

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

e-z-u-r-s-dot-com5406 avatar image e-z-u-r-s-dot-com5406 commented ·

I'm using the phone of our company, which is used for this account. It's in E.164 format.
It's a common phone number, nothing special.

Could you please provide me some steps how can I check is there a problem with my phone number?

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