1. Introduction to error codes

Introduction

Customate tries to inform you about the causes of the error if possible, this allows clients to correctly react to the problem at the integration level (e.g., repeat request with delay or show appropriate message in the UI).

Most 4xx and 5xx responses include an error code – a short string with a brief explanation.

{
"errors": [
{
"message": "Incorrect authentication credentials.",
"code": "authentication_failed"
}
]
}

In the articles that follow, we list the possible error codes that can be returned, along with additional information about how to resolve them.