Skip to main content

API Errors

In case of Error during handling user’s request the API responds using the following schema:

{
"error": {
"code": 500,
"message": "Something bad happened",
"status": "INTERNAL"
}
}

Error Codes

MessageCodeStatusDetails
Malformed JSON body400BAD_REQUESTThe request body does not represent a valid json.
Field <> cannot be empty400BAD_REQUESTThe request does not contain a required field.
Wrong user credentials422UNPROCESSABLE_ENTITYWrong username or password is being used when trying to access the remote provider http api.
Invalid key or expired TOTP422UNPROCESSABLE_ENTITYThe provided key does not match the key that corresponds to the used username/password pair OR the totp that was automatically generated timed out and you should retry.
Internal server error500INTERNAL_SERVER_ERRORInternal error that is out of the scope of the client user.
Field <> should be encoded in base64 format400BAD_REQUESTThe request does not contain a required base64 encoded field