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" } ] }
Same problem, @Phong Vu could you help me to enable SMS?
Sandbox: +13132462899
Dear @Phong Vu
I am also facing the same problem. I work with the sandbox +13132462899. Could you please enable SMS service?
Dear @Phong Vu, I am also facing same problem. I work with the sandbox +16506950410. Could you please enable Sms service?
SMS enabled for your number. Please retest.
Next time, please post a new question to avoid bothering other with thread updated notification. Thanks
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.
Same problem, @Phong Vu could you help me to enable SMS?
Sandbox: +13132462899
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" } ] }
Did you read the extension phone number and check if the number has the SmsSender feature?
async function read_extension_phone_number(){ try { var resp = await platform.get("/restapi/v1.0/account/~/extension/~/phone-number") var jsonObj = await resp.json() for (var record of jsonObj.records){ for (feature of record.features){ if (feature == "SmsSender"){ console.log(`This phone number ${record.phoneNumber} is SMS enabled`) } } } } catch(e) { console.log(e.message) process.exit(1) } }
If the number does have the SmsSender feature and you still get that error message. Please contact RingCentral customer support.
thank you!
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