Errors

In case of an error, Accounts and Transfers services return a response in application/problem+json format. The unified error response fields and service error codes are provided below.

Error response fields

FieldTypeDescription
typestringError type URI
titlestringError title
statusintegerHTTP status code
detailstring / nullAdditional error description
codestringError code
traceIdstringRequest identifier used for technical investigation
errorsobject / nullValidation error details by specific fields
objectTypestring / nullFor 404 - object type
objectIdstring / nullFor 404 - object ID

Accounts Error Codes

HTTP StatusCodeTitleDescription
400ValidationErrorINCORRECT_INPUT_DATARequest parameters are provided incorrectly
400DomainErrorINVALID_ACCOUNTThe specified account and currency could not be found or are not available
400DomainErrorUSER_IS_DELETEDThe user does not exist or has deleted status
400DomainErrorUSER_IS_NOT_ACTIVEUser is not active
400DomainErrorUSER_IS_BLOCKEDUser is blocked
403ForbiddenErrorNOT_AUTHORIZEDThe user does not have the relevant operation permission in Business Internet Banking
500SystemErrorGENERAL_ERRORSystem error

Transfers Error Codes

HTTP StatusCodeTitleDescription
400ValidationErrorOne or more validation errors occurredRequest body, query parameter or a specific field is provided incorrectly
400DUPLICATED_SINGLE_TRANSFER_REQUESTDuplicated Single Transfer RequestThe same single transfer request has already been received / registered
400VALIDATION_ERRORBusiness validation messageBusiness validation failed
400DomainErrorDomain logic validation errorBusiness / domain validation failed
401UnauthorizedUnauthorized accessAccess token is not provided, is invalid or has expired
404ObjectNotFoundRequested object was not foundThe requested transfer, batch or request identifier could not be found
500SystemErrorAn error occurred while processing your requestSystem error
500ApplicationErrorApplication logic validation errorApplication logic error

Examples

{
  "type": "/error-codes#ValidationError",
  "title": "INCORRECT_INPUT_DATA",
  "status": 400,
  "code": "ValidationError",
  "traceId": "00-e3ef7ef4921af4ba1ae82a47d858cb91-7c64ae632f372acf-01",
  "errors": {
    "PageSize": ["PageSize must be between 0 and 700."]
  }
}
{
  "type": "/error-codes#DUPLICATED_SINGLE_TRANSFER_REQUEST",
  "title": "Duplicated Single Transfer Request",
  "status": 400,
  "detail": "Duplicated Single Transfer Request",
  "code": "DUPLICATED_SINGLE_TRANSFER_REQUEST",
  "traceId": "00-b450c0c290093892957e751e5b4d54c9-dc7dd6bc42abfa20-01"
}
{
  "type": "/error-codes#Unauthorized",
  "title": "Unauthorized access",
  "code": "Unauthorized",
  "status": 401,
  "traceId": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01"
}