Skip to main content

I keep getting the error : "errorCode":"CMN-101","message":"Parameter from] value is invalid." from my callout. So I attempted to make the same one in the Developer Console UI and I get the same error.

So this leads me to believe that it has something to do with how the from message is configured somewhere but I need some help understanding what I need to do to get a from phone number that I can use for Sending A2P Send SMS Api.

I checked the Admin Portal and in the TCR Registration it has the number as a Campaign User and Ready for Use and the title says SMS enabled numbers.

Any idea of how I might be able to resolve?

Thank you in advance

Robert

You mentioned “callout” and “A2P SMS”, which API did you call? Please share some code snippets.


Thank you for your reply:

I am using the Send A2P SMS - found at this page: https://developers.ringcentral.com/api-reference/High-Volume-SMS/createA2PSMS

The endpoint : https://platform.ringcentral.com/restapi/v1.0/account/XXXXXXXXX/a2p-sms/batches

Here is the Developer Console attempt:

 



 

 


Thank you for your reply:

I am using the Send A2P SMS - found at this page: https://developers.ringcentral.com/api-reference/High-Volume-SMS/createA2PSMS

The endpoint : https://platform.ringcentral.com/restapi/v1.0/account/XXXXXXXXX/a2p-sms/batches

Here is the Developer Console attempt:

 



 

 

Are you sure that the “from” number is an A2P SMS number?


That apparently is the question I need to answer. Trying to work through whether it is or not with RingCentral. Thank you.


That apparently is the question I need to answer. Trying to work through whether it is or not with RingCentral. Thank you.

You can detect that yourself. See this dev guide article for the example code.

Or try this API from the API reference.


Reply