Got a "Parameter [text] value is invalid" response message when trying to send SMS via API, what could be the cause of this? There was a linefeed character in the text, I removed it by formatting the text via code but still the error persist.
Got a "Parameter [text] value is invalid" response message when trying to send SMS via API, what could be the cause of this? There was a linefeed character in the text, I removed it by formatting the text via code but still the error persist.
You need to provide a snippet of you text what you are trying to send. There should not be any issues in a normal case if you text is within the allowed range.
Without getting a snippet of your text it's very difficult to assume what is going wrong.
Here is a very basic sample to API body of SMS API :
Body:
{"from":{"phoneNumber":"<your phone From number>"},"to":[{"phoneNumber":"<your To phone number>"},{"phoneNumber":"<your To phone number>"}],"text":"Test sms test"}
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:
2 People are following this question.