ETrackings uses generic HTTP response codes to indicate the success or failure of an API request. Typically, codes in the 2xx range indicate success, codes in the 4xx range indicate errors caused by the information provided. (i.e. the required parameter is missing, etc.) and codes in the 5xx range also indicate an error. ETrackings servers
HTTP Status Code | meta.code | Sample Error Message |
---|---|---|
400 |
400 |
Parameter is invalid. |
401 |
401 |
Invalid API key or Key secret. |
403 |
403 |
The request is understood, but it has been refused or access is not allowed. |
404 |
404 |
The URI requested is invalid or the resource requested does not exist. |
429 |
429 |
You have exceeded the API call rate limit. Default limit is 10 requests per second. |
500 502 503 504
|
500 502 503 504
|
Something went wrong on ETrackings end. |
In case of wrong API key or Key Secret
{
"meta": {
"code": 401,
"message": "Invalid API key or Key secret."
}
}
In the case of wrong courier name
{
"meta": {
"code": 404,
"message": "The URI requested is invalid or the resource requested does not exist."
}
}
In the case of Server is down
{
"meta": {
"code": 500,
"message": "Something went wrong on ETrackings end."
},
"data": {
}
}