API Errors

SMS API

CodeInformation
1

Description

Throttled. You are sending SMS faster than the account limit.

Resolution

Refer to What is the Throughput Limit for Outbound SMS? for more information.

2

Description

Missing Parameters. Your request is missing one of the required parameters from, to, api_key, api_secret or text.

Resolution

Check your parameters and try again.

3

Description

Invalid Parameters. The value of one or more parameters is invalid.

Resolution

Check your parameters and try again.

4

Description

Invalid Credentials. Your API key and/or secret are incorrect, invalid or disabled.

Resolution

Visit the Dashboard and check your credentials.

5

Description

Internal Error. An error has occurred in the platform whilst processing this message.

Resolution

If the error persists, contact support.

6

Description

Invalid Message. The platform was unable to process this message, for example, an un-recognized number prefix.

Resolution

N/A

7

Description

Number Barred. The number you are trying to send messages to is blacklisted and may not receive them.

Resolution

N/A

8

Description

Partner Account Barred. Your Vonage account has been suspended.

Resolution

Contact support.

9

Description

Partner Quota Violation. You do not have sufficient credit to send the message.

Resolution

Top-up and retry.

10

Description

Too Many Existing Binds. The number of simultaneous connections to the platform exceeds your account allocation.

Resolution

Back-off and retry.

11

Description

Account Not Enabled For HTTP. This account is not provisioned for the SMS API.

Resolution

This error usually indicates that you should use SMPP instead.

12

Description

Message Too Long. The message length exceeds the maximum allowed.

Resolution

Send shorter messages.

14

Description

Invalid Signature. The signature supplied could not be verified.

Resolution

Check the documentation for signing messages or use one of the SDKs to handle the signing.

15

Description

Invalid Sender Address. You are using a non-authorized sender ID in the from field.

Resolution

This is most commonly seen in North America, where a Vonage long virtual number or short code is required.

17

Description

Message Blocked by Provider. The messaging provider has chosen to block this message. This may be due to content or restrictions imposed by the provider.

Resolution

N/A

22

Description

Invalid Network Code. The network code supplied was either not recognized, or does not match the country of the destination address.

Resolution

Check the network code or remove it from your request.

23

Description

Invalid Callback Url. The callback URL supplied was either too long or contained illegal characters.

Resolution

Supply a valid URL for the callback.

29

Description

Non-Whitelisted Destination. Your Vonage account is still in demo mode. While in demo mode you must add target numbers to your whitelisted destination list.

Resolution

Top-up your account to remove this limitation.

32

Description

Signature And API Secret Disallowed. A signed request may not also present an api_secret.

Resolution

Remove the API secret from your request, or don't sign the message.

33

Description

Number De-activated. The number you are trying to send messages to is de-activated and may not receive them.

Resolution

N/A