Solved

MSG-242 Requested feature is not available

  • 11 January 2021
  • 8 replies
  • 1337 views

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.

icon

Best answer by Phong1426275020 12 January 2021, 01:00

View original

8 replies

Userlevel 1

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
        }
    }
}


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

HI @Phong Vu


I am also facing same problem with sandbox number 14242555859.


Please enable. We are already a premuim customer

@Phong Vu

I am also facing same problem with sandbox number 14242555859.

Please enable it.

Userlevel 1

Request created. Please stay tuned

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

Userlevel 1

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.

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

Reply