HTTP error codes are three-digit values used to communicate that a problem occurred during an online interaction. Typically found in the 400-599 range, these codes often accompany messages providing details on the issue. They help diagnose and resolve issues affecting data transfers between clients and servers.

❗️

Notice

We strongly recommend Operator use the correct HTTP Response Status Code when errors are showing in their system.

Parameters

Parameter nameData typeDescription
dataJSON ObjectResponse for API methods
errorJSON ObjectError message when an error or exception occur

Schema

{
    "data": null,
    "error": {
        "message": "[Error message]"
    }
}

Error Codes Reference

Example HTTP Status Codes are given below in the table below👇.

CodeMeaning
400Bad request
403Forbidden
404Not Found
408Request Timeout
500Internal server error
......

For more information regarding HTTP status codes please refer at MDN Web Docs 🔗