Error Codes received from AA
The error codes are sent as received from the AA for easy resolution of issues.
| Error Code | Message | Status | Mandatory | When is this returned |
|---|---|---|---|---|
| 0 | Success | S | Y | When the user has accepted the consent |
| 1 | Consent is rejected | F | Y | When the user rejects the consent |
| 2 | Consent not available | F | Y | Consent Request not Found with AA |
| 3 | Invalid request | F | Y | The redirection request has invalid data |
| 4 | User authentication failed | F | N | User is not able to authenticate self |
| 6 | Session timeout | F | N | On login page, user doesn't act |
| 7 | Account not discovered | F | N | FIP Id is passed but accounts were not discovered (error 404) and user cancels |
| 8 | Account not discovered | F | N | FIP Id is passed but accounts were not discovered due to FIP error (non-404) |
| 9 | Account not discovered | F | N | Multiple FIP Ids passed or none passed, and no account discovered |
| 10 | Account not linked | F | N | Accounts discovered; user does nothing; session timeout |
| 11 | Account not linked | F | N | Accounts discovered; user clicks cancel |
| 12 | Account link OTP not attempted | F | N | Accounts discovered, OTP not entered, user cancels |
| 13 | Account link OTP not attempted | F | N | Accounts discovered, OTP not entered, user timeout |
| 14 | Account link OTP authentication failed | F | N | All account links failed due to wrong OTPs; user cancels |
| 15 | Account link OTP authentication failed | F | N | All account links failed due to wrong OTPs; user timeout |
| 16 | Account link failed | F | N | User enters valid OTP but all links fail at FIP |
| 17 | OTP failed for some accounts | F | N | Partial OTP failures; user cancels |
| 18 | OTP failed for some accounts | F | N | Partial OTP failures; user timeout |
| 19 | Account link failed for some accounts | F | N | Partial failures; user cancels journey |
| 20 | Unknown error | F | N | AA not able to send any valid error code |
Digio Specific Error Codes
These are error codes defined by Digio TSP, if some error occurs on TSPs end, and not on AA or FIP end.
| Error Code Name | Error Code | Description | Status |
|---|---|---|---|
| DUPLICATE_REQUEST | 1128 | Duplicate request received | FORBIDDEN |
| UNAUTHORIZED | 1111 | You are not authorized to take this action! | UNAUTHORIZED |
| BAD_REQUEST | 1102 | Bad request | BAD_REQUEST |
| ACTION_NOT_ALLOWED_IN_CURRENT_STATE | 1152 | Requested action not allowed in current entity state | FORBIDDEN |
| ENTITY_NOT_FOUND | 1016 | Entity not found for this id | NOT_FOUND |
| UNAUTHORIZED_ACCESS | 1018 | You are not authorized to take this action! | UNAUTHORIZED |
| FORBIDDEN | 1221 | Forbidden | FORBIDDEN |
| INTERNAL_ERROR | 1001 | System Error has occurred | INTERNAL_SERVER_ERROR |
| INVALID_SESSION_ID | 1234 | Invalid session id | BAD_REQUEST |
| INVALID_REQUEST | 1217 | InvalidRequest | BAD_REQUEST |
| UNAUTHORIZED_SOURCE_ORIGIN | 1044 | Unauthorized source origin | FORBIDDEN |
| INVALID_CONSENT_ID | 1227 | Invalid consent handle | BAD_REQUEST |
| SERVICE_TEMPORARILY_UNAVAILABLE | 1199 | Service temporarily unavailable. | SERVICE_UNAVAILABLE |
| ACCOUNT_BLOCKED | 1048 | Your account has been blocked. Please contact support! | FORBIDDEN |
| INVALID_LIMIT_VALUE | 1088 | Limit value provided is invalid | BAD_REQUEST |
| INVALID_OFFSET_VALUE | 1089 | Offset value provided is invalid | BAD_REQUEST |
| AUTH_FAILED | 1002 | Session has expired or is invalid | UNAUTHORIZED |
| IDEMPOTENCY_ERROR | 2000 | Idempotent request | CONFLICT |
| NO_PERMISSIONS | 1020 | You don't have permission to perform this action! | FORBIDDEN |
| SIGNATURE_DOES_NOT_MATCH | 1229 | Signature does not match | BAD_REQUEST |
| TOO_MANY_REQUEST | 1163 | Too many requests | TOO_MANY_REQUESTS |
| INVALID_VERIFICATION_TOKEN | 1130 | Invalid verification token | FORBIDDEN |
| INVALID_USER_STATE | 1064 | User does not have any registered email id or mobile | INTERNAL_SERVER_ERROR |
| NO_USER_FOUND | 1006 | No user found for this id | NOT_FOUND |
| FAILED_TO_SEND_SMS | 1061 | Failed to send sms! | INTERNAL_SERVER_ERROR |
| FAILED_TO_SEND_EMAIL | 1007 | Failed to send email! | INTERNAL_SERVER_ERROR |