question

Mohab Sherif avatar image
Mohab Sherif asked Phong Vu answered

SMS sending faild

Hey,

I'm trying to send an SMS through APIs but It respond with "Message status: SendingFailed", Although I've followed everything mentioned in the guide

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

Phong Vu avatar image
Phong Vu answered

Pls submit a dev support ticket so someone can check your SMS TCR campaign registration.

1 |3000

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

Mohab Sherif avatar image
Mohab Sherif answered

I did also raise a ticket,

SMS sent. Message id: 15794959004

Message status: Queued

Message status: SendingFailed

{

uri: 'https://platform.devtest.ringcentral.com/restapi/v1.0/account/417908004/extension/417908004/message-store/15794959004',

id: 15794959004,

to: [ { phoneNumber: '+17025221856', location: 'Las Vegas, NV' } ],

from: {

phoneNumber: '+19293998284',

name: 'Mohab Sherif',

location: 'New York City, NY'

},

type: 'SMS',

creationTime: '2024-01-07T17:20:41.000Z',

readStatus: 'Read',

priority: 'Normal',

attachments: [

{

id: 15794959004,

uri: 'https://platform.devtest.ringcentral.com/restapi/v1.0/account/417908004/extension/417908004/message-store/15794959004/content/15794959004',

type: 'Text',

contentType: 'text/plain'

}

],

direction: 'Outbound',

availability: 'Alive',

subject: 'Test SMS using a RingCentral Developer account - Hello this is Transporting With Us! Your driver is on the way!',

messageStatus: 'SendingFailed',

smsSendingAttemptsCount: 1,

conversationId: 662422785303067900,

conversation: {

id: '662422785303067884',

uri: 'https://platform.devtest.ringcentral.com/restapi/v1.0/conversation/662422785303067884'

},

lastModifiedTime: '2024-01-07T17:20:42.839Z'

}

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 answered

Please read this post and open a dev support ticket.

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