Skip to main content
The First Step
Jan 11, 2021 9:15 PM UTC
Solved

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.

    PhongVu
    PhongVuAnswer
    Community Manager
    Jan 12, 2021 12:00 AM UTC

    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
    Jan 12, 2021 12:00 AM UTC

    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
    Jan 12, 2021 1:14 PM UTC

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

    New Participant
    Jan 25, 2021 1:29 PM UTC

    HI @Phong Vu


    I am also facing same problem with sandbox number 14242555859.


    Please enable. We are already a premuim customer

    New Participant
    Jan 25, 2021 1:35 PM UTC

    @Phong Vu

    I am also facing same problem with sandbox number 14242555859.

    Please enable it.

    PhongVu
    Community Manager
    Community Manager
    Jan 25, 2021 3:31 PM UTC

    Request created. Please stay tuned

    The First Step
    Oct 20, 2022 5:17 AM UTC

    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
    Oct 20, 2022 1:41 PM UTC

    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
    Feb 13, 2023 8:06 AM UTC

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