Skip to main content
The First Step
January 11, 2021
Solved

MSG-242 Requested feature is not available

  • January 11, 2021
  • 8 replies
  • 1434 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.

    Best answer by PhongVu

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


    8 replies

    PhongVu
    Community Manager
    PhongVuAnswer
    Community Manager
    January 12, 2021

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


    The First Step
    January 12, 2021

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

    New Participant
    January 25, 2021

    HI @Phong Vu


    I am also facing same problem with sandbox number 14242555859.


    Please enable. We are already a premuim customer

    New Participant
    January 25, 2021

    @Phong Vu

    I am also facing same problem with sandbox number 14242555859.

    Please enable it.

    PhongVu
    Community Manager
    Community Manager
    January 25, 2021

    Request created. Please stay tuned

    The First Step
    October 20, 2022

    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

    PhongVu
    Community Manager
    Community Manager
    October 20, 2022

    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.

    New Participant
    February 13, 2023

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