Skip to main content
The First Step
April 5, 2023
Solved

SMS Issue in Sandbox errorCode MSG-242

  • April 5, 2023
  • 7 replies
  • 387 views

I am recieving the below error when testing in the API explorer. Any idea what the issue is?


Request: curl --request POST  --url 'https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/sms'  
--header 'accept: application/json'  
--header 'authorization: Bearer xxxUFIRQ'  
--header 'content-type: application/json'  
--data '{"from":{"phoneNumber":"+13236483519"},"text":"hello world","to":[{"phoneNumber":"+15514042223"}]}'
Response:{ 
"errorCode": "FeatureNotAvailable", 
"message": "The requested feature is not available", 
"errors": [ { "errorCode": "MSG-242", "message": "The requested feature is not available" } ]
 }
Best answer by PhongVu

SMS enabled for your number. Please retest.

BTW, next time please clean the post by breaking into lines to make it readable. I fixed it this time.

7 replies

PhongVu
Community Manager
PhongVuAnswer
Community Manager
April 5, 2023

SMS enabled for your number. Please retest.

BTW, next time please clean the post by breaking into lines to make it readable. I fixed it this time.

New Participant
April 6, 2023

Dear @Phong Vu, I am also facing same problem. I work with the sandbox +16506950410. Could you please enable Sms service?

PhongVu
Community Manager
Community Manager
April 6, 2023

SMS enabled for your number. Please retest.

Next time, please post a new question to avoid bothering other with thread updated notification. Thanks

botThe First StepAuthor
The First Step
April 6, 2023

thank you!

botThe First StepAuthor
The First Step
April 25, 2023

Hello @Phong Vu / @Dmitriy Ivanov

I have now graduated to production and seeing the same error. Do you need to enable something again? thanks.

Request:

{ "from": { "phoneNumber": "+16466502260" }, "to": [ { "phoneNumber": "+15514042223" } ], "text": "Helo World" }


Response:

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

New Participant
December 28, 2023

Same problem, @Phong Vu could you help me to enable SMS?

Sandbox: +13132462899

New Participant
December 28, 2023

Dear @Phong Vu

I am also facing the same problem. I work with the sandbox +13132462899. Could you please enable SMS service?