Error Codes
unknownError
Is returned when some unexpected error occurred on a request processing.
badRequest
Is returned when some request fields have values that don’t comply the endpoint request specification. In this case, the response is as follows:
{
"error": {
"code": "badRequest",
"validationResult": {
"<field name 1>": {
"type": true
},
"<field name 2>": ...
}
}
}
unauthorized
Is returned when no authentication information is provided with a request to an endpoint that requires authentication.
notFound
Returned if an entity requested doesn’t exists or not enough rights to access it.