Standard Error Codes

Overview

This document provides information about the error codes you would receive when executing the WhatsApp REST APIs.

Find the error codes and their description in the following tables. You can check and modify the requests to re-execute them to get a successful response.

HTTP Status Codes and their Description

HTTP Status Codes

Description

200

The request is executed successfully.

202

The successful request has been accepted.

400

The validation is failed because of the invalid input.

500

Server Error, unable to process your request

Response Error Codes and their Description

Error Code

Parameter

Description

E13001

message_ids

The list of Message IDs is empty. Enter the list and try again.

E13001

company_id

The Company ID is missing. Input the ID and re-execute the command.

E13001

user_id

The User ID is missing.

E13001

role_id

The Role ID is missing.

E13001

cert_path_empty

The Cert Path value is required.

E13001

cert_path

The Cert Path value must be a string.

E13001

id_empty

The ID value is required.

E13001

id

The ID value must be a number.

E13001

wanumber_empty

The WhatsApp Number is mandatory.

E13001

wanumber

The WhatsApp Number must be a string.

E13001

country_code_empty

The Country Code is mandatory.

E13001

country_code

The Country Code value must be a string.

E13001

name_empty

Name is mandatory

E13001

name

The Name value must be a string.

E13001

path_empty

The Path field is mandatory.

E13001

path

The Path value must be
a string.

E13001

otp_empty

The OTP value is mandatory

E13001

otp

The OTP value must be a string

E13001

body_empty

The input for the Body of the request is mandatory

E13001

body

The Body input must be a string.

E13001

template_name_empty

The Name of the Template is mandatory.

E13001

template_name

The Template Name must be a string.

E13001

params_list

The Parameters must be a list

E13001

params

The Parameter value must be a string.

E13001

email

The Email Address must be a string.

E13001

address

The Address must be a string.

E13001

description

The Description must be a string.

E13001

incoming_url

The Incoming URL must be a string.

E13001

profile_image_url

The Profile Image URL must be a string.

E13001

category

The Category must be a string.

E13001

websites_list

The Websites must be a list.

E13001

websites

The value of the Websites must be a string.

E13001

from_empty

The From field is mandatory.

E13001

kid_empty

The Kid field is mandatory.

E13001

ip_empty

The IP Address is mandatory.

E13001

source_empty

The Source field is mandatory.

E13001

created_at_empty

The Created At field is mandatory.

E13001

type_empty

The Type field is mandatory.

E13001

from

The From value must be a string.

E13001

kid

The Kid value must be a string.

E13001

ip

The IP Address must be a string.

E13001

source

The Source value must be a string.

E13001

created_at

The Created At value must be a string.

E13001

type

The Type value must be a string.

E13001

to_list

The To must be a list.

E13001

to

The To value must be a string.

E13001

invalid

Invalid or in-correct Input

E13002

package_expired

The Package expired or Count not available.

E13003

package_partial_expired

The Package count is not available to process the request.

E13004

template_params

The Template params are not matching.

E13005

template_name_missmatch

Invalid template

E13001

checksum_empty

The Checksum field is mandatory.

E13001

checksum

The Checksum value must be a string.

E13008

from_invalid

Invalid or in-correct input of the From number.

E13009

to_invalid

Invalid or in-correct input of the TO number.

E13010

whatsapp_invalid

Invalid or in-correct input of the WhatsApp number.

E13011

param_header

The Template header parameters are not matching.

E13012

invalid_media

Invalid Media Content

E13013

invalid_template_content

Invalid Parameter values

E13014

Invalid_media

Failed to upload the Media file.

E13001

Invalid_response

Unable to process the request.

E413

all parameters except body

Invalid or In-Correct input for passing HTML tags in parameters.

Contact us through [email protected] if you get an error that is not listed in the above table.


Did this page help you?