Errors
HTTP Error codes
4xx client errors, error seems to have been caused by the client
5xx server errors, server is aware that it has encountered an error or is otherwise incapable of performing the request. This usually means that the issue is on our end. Please Contact Us if you encounter a 5xx error.
Error response schema (body)
400 - bad request
<html>
<head>
<title>400 Bad Request</title>
</head>
<body>
<center>
<h1>400 Bad Request</h1>
</center>
<hr>
<center>cloudflare</center>
</body>
</html>
422 - Validation error
{
"meta": {
"status": "ERROR"
},
"errors": [
{
"code": "REQUEST_VALIDATION_ERROR",
"title": "Invalid body / headers / query",
"detail": {
"rule": "enum",
"field": "direction",
"message": "enum validation failed on direction",
"args": {
"choices": [
"IN",
"OUT"
]
}
}
}
]
}
404 - Not found
URL Not Found
{
"errors": [
{
"code": "NOT_FOUND",
"title": "URL not found",
"detail": "Invalid URL path: /v1/bank-accountsrz"
}
],
"meta": {
"status": "ERROR"
}
}
Data not found
500 - internal server error
Error codes
Error code | Area | Description |
---|---|---|
REQUEST_VALIDATION_ERROR | All | Wrong value or format used in the request body |
DATA_NOT_FOUND | All | Requested entity has not been found. |
NOT_FOUND | All | URL used in request not found |
INPUT_DATA_ERROR | All | If wrong data provided in request (e.g. in query params or body) |
NOT_AUTHORIZED | All | User is not authorized. |
INVALID_AUTH_HEADER | All | Invalid authorization header used in request. |
INVALID_ACCESS_TOKEN | All | invalid access token used in reuqest. |
INTERNAL_SERVER_ERROR | All | Internal system problem. |
INVALID_SCOPE | All | If endpoint used is not available in the scope requested during authentication. |
TRANSACTION_REFRESH_ERROR | Bank Accounts API | Problem during transactions refresh (can appear when ad-hoc transactions refresh endpoint called) |
ACCOUNT_REFRESH_ALREADY_RUNNING | Bank Accounts API | There is already transactions refresh running for requested bank account. |
NOT_EDITABLE | Payments API | Entity is not editable. It can appear when calling PATCH endpoint on payment which cannot be updated anymore. |
PAYMENT_REJECTED | Payments API | Payment has been rejected by bank. |