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.

rest api
2 comments
1 |3000

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

Danny Chalabi avatar image Danny Chalabi commented ·

Hi Sir @Phong Vu , i am also facing the same Problem in Sandbox Account , My Sandbox User name is +14702360470 , Please enable the sms services , I will be very thankful to you .... Everything is setup, but response ERROR is coming "Expected HTTP Error: The requested feature is not available"

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ Danny Chalabi commented ·

SMS enabled. Next time please don't ride on old thread with such a subject/problem as it will notify other members in this thread unnecessarily.

0 Likes 0 ·
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
        }
    }
}


13 comments
1 |3000

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

Andrew Lake avatar image Andrew Lake commented ·

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

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ Andrew Lake commented ·

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 ·
Andrew Lake avatar image Andrew Lake Phong Vu ♦♦ commented ·

16504497761

0 Likes 0 ·
Show more comments
Show more comments
Rohit Gupta avatar image Rohit Gupta commented ·

@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 Martha Almeida commented

HI @Phong Vu


I am also facing same problem with sandbox number 14242555859.


Please enable. We are already a premuim customer

3 comments
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 ♦♦ commented ·

Request created. Please stay tuned

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ commented ·

Enabled.

0 Likes 0 ·
Martha Almeida avatar image Martha Almeida Phong Vu ♦♦ commented ·

io have the same issue can u help me please ???

best regards

0 Likes 0 ·
Colorado 145 avatar image
Colorado 145 answered Colorado 145 edited

HI @Phong Vu


I am also facing same problem with production number .

I am using php curl and postman also.

Please enable. We are already a premuim customer

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.

Phong Vu avatar image Phong Vu ♦♦ commented ·

No, you don't face the same problem. All your numbers on the production are shown SMS enabled and the main company number is A2P SMS enabled.

Open a dev support ticket for help. And treat your production phone numbers as private information and don't post them in public forum.

0 Likes 0 ·
Jay C. Patel avatar image
Jay C. Patel answered Jay C. Patel commented

Dear @Phong Vu, I am also facing same problem. My sandbox number is +15856234124. Could you please enable Sms service?

2 comments
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 ♦♦ commented ·

Enabled. Please retest.

0 Likes 0 ·
Jay C. Patel avatar image Jay C. Patel Phong Vu ♦♦ commented ·

Dear @Phong Vu it is working now. Thank you for your quick support.

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