Skip to main content
The First Step
Apr 5, 2023 9:31 PM UTC
Solved

SMS Issue in Sandbox errorCode MSG-242

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" } ]
 }
PhongVu
PhongVuAnswer
Community Manager
Apr 5, 2023 10:42 PM UTC

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
Apr 5, 2023 10:42 PM UTC

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
Apr 6, 2023 1:56 PM UTC

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
Apr 6, 2023 2:34 PM UTC

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
Apr 6, 2023 4:47 PM UTC

thank you!

botThe First StepAuthor
The First Step
Apr 25, 2023 7:01 PM UTC

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
Dec 28, 2023 3:02 PM UTC

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

Sandbox: +13132462899

New Participant
Dec 28, 2023 3:52 PM UTC

Dear @Phong Vu

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