question

Suresh Yadagiri avatar image
Suresh Yadagiri asked Phong Vu commented

Reg MSG-242"

Hello,


For our new sandbox account we are getting Reg MSG-242", "message" : "The requested feature is not available".. can you please let us know the reason for this code? In my account it's showing active.



rest api
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Anirban avatar image
Anirban answered

Can you check if you are able to send messages via softphone.

Same issue I can find here

https://forums.developers.ringcentral.com/questions/9693/send-sms-in-production-msg-242-error.html

Also check the phone number you are sending the sms request in api

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Narendra Lalwani avatar image
Narendra Lalwani answered Phong Vu commented

I am also facing the same issue: RCRequestId: 4b53b64e-9d3c-11ea-82f2-005056bbcdd9 and number +14705025057

can you validate this number registered correctly?

1 comment
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image Phong Vu ♦♦ commented ·

You should be able to send SMS from that number now.

0 Likes 0 ·
Colorado 145 avatar image
Colorado 145 answered Phong Vu commented

I am facing the same issue for "error code: MSG-242, Requested Feature is Not Available" while using the production environment. Whereas every thing works fine for sandbox environment. Below are the screenshots of my "Postman" environment setup and response of the "send SMS" endpoint.

Environment variables setup:

1668516087972.pngResponse of "Send SMS endpoint":1668515673949.png


I have created the App using JWT Auth.


1668515673949.png (3.9 KiB)
1668516087972.png (36.3 KiB)
3 comments
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image Phong Vu ♦♦ commented ·

Can you call this API and check if the number has the SmsSender feature. If it has the feature and still fails sending, then open a support ticket.

0 Likes 0 ·
Colorado 145 avatar image Colorado 145 Phong Vu ♦♦ commented ·

As you said to call that API endpoint. I tried it but, it is showing this

{ "errorCode" : "AGW-402" , "message" : "Invalid Authorization header" , "errors" : [ { "errorCode" : "AGW-402" , "message" : "Invalid Authorization header" } ] }

What is the valid authorization header.

My postman headers: They are getting the values from environment variables.

1668599758289.png

Value calculation for "basic_auth_header" environment variable:

1668599781267.png

0 Likes 0 ·
1668599758289.png (10.0 KiB)
1668599781267.png (7.2 KiB)
Phong Vu avatar image Phong Vu ♦♦ Colorado 145 commented ·

That is your Postman environment setting and I cannot say much about it.

If you could call the other APIs, you should be able to call the API I mentioned. At least, it should not fail with the error "Invalid Authorization header"

0 Likes 0 ·

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys