question

Nirmal Babu avatar image
Nirmal Babu asked Phong Vu answered

"The destination is disabled" when sending SMS

Getting the below error when sending SMS:

 com.ringcentral.RestException: HTTP Response
 =============
 status code: 403
 Server: nginx
 Date: Thu, 14 Apr 2022 20:09:34 GMT
 Content-Type: application/json;charset=utf-8
 Content-Length: 175
 Connection: keep-alive
 RCRequestId: cd7122ca-bc2e-11ec-966a-0050568cbe06
 RoutingKey: SJC01P18PAS08
 Content-Language: en-US
 X-Rate-Limit-Group: sms
 X-Rate-Limit-Limit: 60
 X-Rate-Limit-Remaining: 59
 X-Rate-Limit-Window: 60
    
 {
   "errorCode" : "MSG-386",
   "message" : "The destination is disabled.",
   "errors" : [ {
     "errorCode" : "MSG-386",
     "message" : "The destination is disabled."
   } ]
 }

HTTP Request

HTTP POST https://platform.ringcentral.com/restapi/v1.0/account/~/extension/~/sms

Please help in finding the root cause!

call recording
2 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.

Does this happen when you send text message to any phone number? And from any phone number?

0 Likes 0 ·

It doesn't happen every time. We faced this error around 4-5 times in the past week. Not sure if the problem is with from or to phone number.

0 Likes 0 ·

1 Answer

Phong Vu avatar image
Phong Vu answered

Even if it doesn't happen every time. I need to know if it happens to the same number or different numbers. The error message is "The destination is disabled" and if this is the to number is disabled, then there is nothing we can do. So we really need to clarify this.

When this happens, can you use the RC app to send a message to that number to see if it would pass or fail.

Let me know.

2 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.

It happened to different numbers. On that day it failed when we tried a couple of times. I just tried sending SMS to the same number and it is working from API itself. Not sure if the destination is enabled or so. Can it be a problem from the sender too or is it always due to the receiver?

0 Likes 0 ·

Since you are using the standard SMS endpoint, we don't validate the recipient's phone number and the delivery/failure status we get will be from the number's carrier. So in your case, it is always due to the receiver.

1 Like 1 ·

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