Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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

{
    "errors": [
        {
            "code": "REQUEST_VALIDATION_ERROR",
            "title": "Invalid Query Parameter",
            "detail": "\"account_types\" is not allowed"
        },
        {
            "code": "REQUEST_VALIDATION_ERROR",
            "title": "Invalid Query Parameter",
            "detail": "\"login_type\" is not allowed"
        },
        ...
    ]
}

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

{
    "errors": [
        {
            "code": "DATA_NOT_FOUND",
            "title": "Data not found.",
            "detail": "Account SK3011000000002913118029 not found in user profile."
        }
    ],
    "meta": {
        "type": "accounts",
        "status": "ERROR"
    }
}

500 - internal server error

{
    "type": "bank-login-url",
    "status": "ERROR",
    "errors": [
        {
            "code": "INTERNAL_SERVER_ERROR",
            "title": "Internal server problem."
        }
    ]
}

  • No labels