GoCardlessDeveloper Docs
Create a sandbox account

Statuses and Error Messages#

View as Markdown

Learn about statuses and error messages for different Bank Account Data endpoints.

Statuses#

Requisitions#

ShortLongDescriptionStage
CRCREATEDRequisition has been successfully created1
GCGIVING_CONSENTEnd-user is giving consent at GoCardless's consent screen2
UAUNDERGOING_AUTHENTICATIONEnd-user is redirected to the financial institution for authentication3
RJREJECTEDEither SSN verification has failed or end-user has entered incorrect credentials4
SASELECTING_ACCOUNTSEnd-user is selecting accounts5
GAGRANTING_ACCESSEnd-user is granting access to their account information6
LNLINKEDAccount has been successfully linked to requisition7
EXEXPIREDAccess to accounts has expired as set in End User Agreement8

Stage describes the sequence of each possible status, where 1 is the starting status.

Accounts#

StatusDescription
DISCOVEREDUser has successfully authenticated, and account has been discovered
ERRORAn error was encountered when processing account
EXPIREDAccess to account has expired as set in End User Agreement
PROCESSINGAccount is being processed by the institution
READYAccount has been successfully processed
SUSPENDEDAccount has been suspended (more than 10 consecutive failed attempts to access the account)

End user authentication messages#

StatusDescriptionHTTP status
InstitutionTechnicalErrorA technical error occurred while trying to connect to the institution, please try again.500
GoCardlessTechnicalErrorAn unexpected error occurred in the GoCardless system. If this error persists, please contact support.500
RequisitionLinkReusedThis link has already been used for authorization and is no longer valid.400
UserCancelledSessionUser cancelled the session.401
UserSessionRejectedUser session rejected due to incorrect credentials or a business exception.401
CompanyRequisitionLimitReachedFree usage limit exceeded.402
UnknownErrorAn unknown error occurred.

API error messages#

All error HTTP codes are 4xx or 5xx. Use HTTP status codes for control flow and the error body for informative purposes. Errors are returned in this shape:

{
  "summary": "Unknown institution ID",
  "detail": "Get institution ID from /institutions/?country={country_code}",
  "status_code": 400
}

Institutions#

SummaryDetailHTTP status
Unknown fields {fields} in the payload400
Invalid token401

Agreements#

SummaryDetailHTTP status
Incorrect max_historical_daysmax_historical_days must be > 0 and <= {institution_id} transaction_total_days (int)400
End User Agreements cannot be accepted more than once400
Institution {institution_id} is not operationalInstitution {institution_id} is down or under maintenance. Try again later or contact support for more information.503
Cannot delete End User AgreementCannot delete accepted End User Agreement: {eua_id}. Only non-accepted agreements can be deleted.400
Invalid token401

Requisitions#

SummaryDetailHTTP status
Invalid redirect URIRedirect URI must have a valid URI structure400
Invalid EUA{agreement_id} is not a valid UUID. Please specify a valid agreement from /api/agreements/enduser/ or create a new one.400
Incorrect enduser_idenduser_id in requisition must match the EUA {eua_id}. Requisition enduser_id: {req_enduser_id}, EUA enduser_id: {eua_enduser_id}400
Provided user_language is invalid or not supported{user_language} is invalid or not supported400
Institution {institution_id} is not operationalInstitution {institution_id} is down or under maintenance. Try again later or contact support for more information.503
Invalid token401

Accounts#

SummaryDetailHTTP status
Invalid Account ID{id} is not a valid UUID400
End User Agreement (EUA) {eua_id} has expiredEUA was valid for {valid_days} days and expired at {expired_date}. The end user must reconnect their account with a new EUA and Requisition.401
AccessExpiredErrorAccess has expired or been revoked. To restore access, reconnect the account.401
AccountInactiveErrorAccount has been deactivated or no longer exists.401
Invalid token401
AccountAccessForbiddenAccess to the account is forbidden. The user might not have the necessary permissions.403
Account SuspendedThis account or its Requisition was suspended due to numerous errors while accessing it.409
AccountProcessingAccount data is currently being processed. Poll /accounts/\{account_id\}/ and retry when status is READY.409
RateLimitErrorThe daily request limit set by the institution has been exceeded.429
UnknownRequestErrorRequest to institution returned an unknown error.500
ServiceErrorInstitution service unavailable.503
ConnectionErrorCouldn't connect to institution.503

What's next?#