Error codes

Error 102

Authentication failed due to invalid userId or password.

Error 301

Phone number invalid, valid phone number including the country calling code using E.164 format.

Error 303

Message field must be specified to send WAB message.

Error 304

Number field must be specified to send WAB message

Error 305

Please user number in E.164 format

Error 306

The maximum limit for GSM encoding is 1024 characters.

Error 307

Message does not match WhatsApp HSM template.

Error 308

The number does not have an answer.

Error 309

Agent field must be specified to send WAB message.

Error 310

URL field must be specified to send WAB message.

Error 311

Location field must be specified to send WAB message.

Error 312

Longitude field must be specified to send WAB message.

Error 313

Latitude field must be specified to send WAB message.

Error 314

Contacs field must be specified to send WAB message.

Error 315

Name field must be specified to send WAB message.

Error 316

Phones field must be specified to send WAB message.

Error 317

Number field must be specified to Opt-In.

Error 318

Number field must be specified to Opt-Out.

Error 400

Agent or User are invalid.

Error 402

This number was deactivate to this agent.

Error 403

This number already optOut from your agent.

Error 404

Whatsapp agent isn't valid or not found.

Error 500

Your account cannot send templates or your account cannot send conversations.

Response

{

"error": true,

"code": 204,

"message": "Unauthorized. Does not have the required permission or does not have the correct scope."

}