question

comiere-healthcare1789 avatar image
comiere-healthcare1789 asked Anirban answered

Why am I getting errors when trying to send SMS?

We integrated RingCentral API to our Java backend application to send Fax and SMS. We are getting errors when trying to send SMS.

sms and text messagingerrors
1 |3000

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

Tyler Liu avatar image
Tyler Liu answered
What is the error message? Could you please post the code you used to send Fax/SMS ?
1 |3000

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

comiere-healthcare1789 avatar image
comiere-healthcare1789 answered
Hello The response from ring central shows sms sent, but you didn't get it. Receipt(status=200, response={ "uri" : " https://platform.devtest.ringcentral....", "id" : 2697082004, "to" : [ { "phoneNumber" : "+XXXXXXXXXXX", "location" : "Aurora, IL" } ], "from" : { "phoneNumber" : "+XXXXXXXXXX", "location" : "Montebello, CA" }, "type" : "SMS", "creationTime" : "2017-02-17T13:18:40.000Z", "readStatus" : "Read", "priority" : "Normal", "attachments" : [ { "id" : 2697082004, "uri" : " https://platform.devtest.ringcentral....", "type" : "Text", "contentType" : "text/plain" } ], "direction" : "Outbound", "availability" : "Alive", "subject" : "Test SMS using a RingCentral Developer account - test sms content", "messageStatus" : "Sent", "smsSendingAttemptsCount" : 1, "conversationId" : 6361148894337916524, "conversation" : { "id" : "6361148894337916524", "uri" : " https://platform.devtest.ringcentral...." }, "lastModifiedTime" : "2017-02-17T13:18:40.265Z"}, key=null)
1 |3000

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

Tyler Liu avatar image
Tyler Liu answered
The response said that SMS was sent. I have no idea why you didn't get it.
1 |3000

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

vyshakhbabji avatar image
vyshakhbabji Deactivated answered

Can you please mail the developer support team or create a support ticket for further investigation on this? Can you also send us full HTTP request and response?

As the HTTP status code is 200 the SMS should reach to the "to" number.

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 the link and verify if something similar has not happened

https://forums.developers.ringcentral.com/questions/290/most-time-i-cannot-receive-sms.html

1 |3000

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

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