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.
MSG-242 Requested feature is not available
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
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
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.