News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
MSG-242 Requested feature is not available
Tags: api sms
Jan 11, 2021 at 1:15pm   •   4 replies  •  0 likes
Andrew Lake

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.

4 Answers
answered on Feb 13, 2023 at 12:06am  

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


 0
answered on Oct 19, 2022 at 10:17pm  

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


 0
on Oct 20, 2022 at 6:41am   •  0 likes

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.

answered on Jan 25, 2021 at 5:29am  

HI @Phong Vu


I am also facing same problem with sandbox number 14242555859.


Please enable. We are already a premuim customer


 0
on Jan 25, 2021 at 7:31am   •  0 likes

Request created. Please stay tuned

answered on Jan 11, 2021 at 4:00pm  

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



 1
on Jan 25, 2021 at 5:35am   •  0 likes

@Phong Vu

I am also facing same problem with sandbox number 14242555859.

Please enable it.

on Jan 12, 2021 at 5:14am   •  0 likes

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

on Jan 12, 2021 at 7:30am   •  0 likes

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?

on Oct 18, 2022 at 3:39am   •  0 likes

I am able to send SMS using sandbox number "+16282312108" but not able to send SMS using production number "+19705198004". When I try to send it shows 1666089536571.png

{ "errorCode" : "FeatureNotAvailable" , "message" : "The requested feature is not available" , "errors" : [ { "errorCode" : "MSG-242" , "message" : "The requested feature is not available" } ] }

Please help, I am a premium customer of MVP

on Oct 18, 2022 at 6:49am   •  0 likes

Did you read the phone number feature? Which API returned that error?

on Oct 18, 2022 at 10:32pm   •  0 likes

what is the phone number feature? I could not find it anywhere. And I am using SMS API. I am a premium customer of MVP

on Oct 19, 2022 at 7:15am   •  0 likes

In my original answer.

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
        }
    }
}
on Feb 9, 2021 at 9:20pm   •  0 likes

I am also facing the same problem of not having the SMSSender feature enabled in my sandbox. If you could please enable for me as well, I would greatly appreciate it. Sandbox +14242563327.

on Feb 10, 2021 at 7:36am   •  0 likes

Request created. Stay tuned.

on Jan 12, 2021 at 7:33am   •  0 likes

16504497761

on Jan 12, 2021 at 10:56am   •  0 likes

Your number is SMS enabled now. Please try and let me know if it still does not work.

on Jan 12, 2021 at 10:57am   •  0 likes

It seems to be working now, thank you.

on Jan 12, 2021 at 8:13am   •  0 likes

I just had a look at your sandbox account and found that the number is not provisioned for SMS. Not sure about the reason but I created a request to provision it. You can wait for a while until the number is provisioned or add a direct number to the admin user and use that number to send SMS.



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us