question

Andrew Lake avatar image
Andrew Lake asked Phong Vu commented

MSG-242 Requested feature is not available

Hello, I'm trying to send an SMS on our sandbox account and I'm receiving the following error code MSG-242. From the other posts it looks like you are manually giving sandbox accounts the ability to send SMS. I didn't see any automated way to enable that.

api 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 Phong Vu commented

did you use this code to detect if the number has the SmsSender feature?

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"){
          // use the record.phoneNumber to send SMS
        }
    }
}


9 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.

When I hit that endpoint I only get one record and the only feature it has is "CallerId"

0 Likes 0 ·

It means that the phone number is not provisioned forSMS. Is that the main company number or a company number? What is your main company number?

0 Likes 0 ·

16504497761

0 Likes 0 ·
Show more comments
Show more comments

@Phong Vu

I am also facing same problem with sandbox number 14242555859.

Please enable it.

0 Likes 0 ·
Rohit Gupta avatar image
Rohit Gupta answered Phong Vu commented

HI @Phong Vu


I am also facing same problem with sandbox number 14242555859.


Please enable. We are already a premuim customer

2 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.

Request created. Please stay tuned

0 Likes 0 ·

Enabled.

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