Handling errors

This api will return a 4xx http response code on wrong input and will send a human readable error.

Example failed response:
Status code: 400 Bad Request,

Body:
{
	"error": "error parsing json"
}
OR

{
	"errorCode": "104"
	"errorMsg": "Invalid credentials"
}

Error
102 No message provided
103 Phone number is required or invalid
104 Invalid Credentials
105 We are currently having some issues with our servers. Please try again later.
106 Destination number [xxxx] missing or invalid
108 Not enough credits.
109 Sender name cannot be empty
110 You used the sender number, this always has to start with a +.
111 You are using an invalid sender name. This field can be maximum 11 characters or 14 digits
112 Message Required
113 Order Required
114 Empty Request
118 An sms message cannot be longer than 160 characters. Some special characters, like €, count as 2
121 Date [xxxx] is invalid or in the past.
122 No contacts send
123 Object didn't have an ID
124 Parameter groupid required
125 Group or groupid not found
126 Name is required
128 Group [xxxx] not found
129 Number [xxxx] already exists in group
200 Access to the gateway API is not allowed because your IP address is not allowed.

Check our other solutions for sending SMS messages:

SMS SOFTWARE

Send and receive SMS through our software

VOICE MESSAGES

Send text-to-speech voice messages

EMAIL2SMS

Send SMS through your email program


REGISTREER GRATIS

Ontdek onze geavanceerde SMS software vandaag!

REGISTREER