Gateway Error Codes
This page lists the error codes that may be returned by the Gateway in non-successful HTTP responses.
HTTP status codes are intentionally omitted from the error definitions below as they may vary. Clients should rely on the
codefield and, if present, thesubCodefield in the JSON payload to identify specific errors.
Values in
{curly braces}in themessagecolumn are placeholders that are dynamically inserted at runtime when the error response is returned (e.g.,{N}will be replaced with actual numeric values like2).
Error Codes
| code | subCode | title | message |
|---|---|---|---|
| ACCOUNT_CONFIRMATION | N/A | Can not confirm the account | It is not possible to perform account confirmation at this time |
| ACCOUNT_CONFIRMATION | TOKEN_EXPIRED | Can not confirm the account | This token has expired |
| ACCOUNT_CONFIRMATION | TOKEN_ALREADY_USED | Can not confirm the account | This token has already been used |
| ACCOUNT_CONFIRMATION | RESEND_RATE_LIMIT | Can not confirm the account | Please wait {N} seconds before resending user confirmation |
| AUTHENTICATION | N/A | Authentication failed | It was not possible to authenticate the user: {more_info} |
| AUTHENTICATION | USER_NOT_FOUND | Authentication failed | It was not possible to authenticate the user: user not found |
| AUTHENTICATION | MALFORMED_OR_MISSING_CREDENTIALS | Authentication failed | It was not possible to authenticate the user: malformed or missing credentials |
| AUTHENTICATION | WRONG_CREDENTIALS | Authentication failed | It was not possible to authenticate the user: wrong credentials |
| AUTHENTICATION | MULTIPLE_TOKENS_NOT_ALLOWED | Authentication failed | It was not possible to authenticate the user: only one JWT can be processed |
| AUTHENTICATION | REFRESH_TOKEN_MISSING | Authentication failed | It was not possible to authenticate the user: refresh token must be sent |
| AUTHENTICATION | REFRESH_TOKEN_NOT_ALLOWED | Authentication failed | It was not possible to authenticate the user: refresh token must not be sent |
| AUTHENTICATION | TOKEN_CONFIG_MISSING | Authentication failed | It was not possible to authenticate the user: access or refresh token config is not present in the tenant |
| AUTHENTICATION | TOKEN_NOT_VALID | Authentication failed | It was not possible to authenticate the user: JWT verification failed |
| AUTHENTICATION | TOKEN_REVOKED | Authentication failed | It was not possible to authenticate the user: can not accept a revoked JWT |
| AUTHORIZATION | N/A | Authorization failed | It was not possible to authorize the request: {more_info} |
| AUTHORIZATION | ACCOUNT_NOT_CONFIRMED | Authorization failed | It was not possible to authorize the request: user account not confirmed yet |
| AUTHORIZATION | INSUFFICIENT_AUTHORITIES | Authorization failed | It was not possible to authorize the request: user does not have the correct authorities, it must have at lest one of the authorities specified in the route config |
| CHAR_NOT_ALLOWED | N/A | Not allowed characters | {input_name} input contains one or more not allowed characters (chars_list) |
| DESTINATION_ORIGIN_NOT_SAFE | N/A | Destination origin is not safe | The origin <{origin_url}> to which the request should be forwarded is not safe (the domain of the origin is not well-formed and secure, or the scheme is not http/https) |
| EMAIL_NOT_VALID | N/A | Email not valid | The provided email does not have a valid email format |
| EXISTING_USER | N/A | User already exists | A user with the provided username already exists (username must be unique for each user) |
| HEADER_PREFIX | N/A | Header prefix error | Some header values must start with a specific prefix, eg. app-, key-, route- |
| HTTP_BODY_FORMAT | N/A | Body format error | HTTP body format is not valid. It must be valid JSON and use only allowed values for fields restricted to predefined options |
| HTTP_NETWORK_ERROR | N/A | Network error | It was not possible to handle the request because of a network error |
| HTTP_NETWORK_ERROR | N/A | Network error | Failed to call the destination origin that was configured for this route because of a network error (the request that failed has method {method} and url {url}) |
| INPUT_TOO_LONG | N/A | Input is too long | {input_name} value is too long (max length is {MAX}) |
| INPUT_NOT_VALID | N/A | Input is not valid | {more_info} |
| LOGOUT | N/A | Logout failed | It was not possible to perform the logout: {more_info} |
| MFA | N/A | MFA failed | Can not process MFA at this time |
| MFA | CHALLENGE_EXPIRED | MFA failed | This MFA challenge has expired |
| MFA | CHALLENGE_ALREADY_COMPLETED | MFA failed | This MFA challenge has already been completed |
| ROUTE_CONFIG_NOT_ACTIVE | N/A | Route config is not active | Route configuration was saved but not activated |
| TENANT_CONFIG_NOT_ACTIVE | N/A | Tenant config is not active | Tenant configuration was saved but not activated |
| PASSWORD_UPDATE_OR_RESET | N/A | Can not update or reset the password | It is not possible to perform password update or reset at this time |
| PASSWORD_UPDATE_OR_RESET | TOKEN_EXPIRED | Can not update or reset the password | This token has expired |
| PASSWORD_UPDATE_OR_RESET | TOKEN_ALREADY_USED | Can not update or reset the password | This token has already been used |
| PASSWORD_UPDATE_OR_RESET | NEW_PASSWORD_EQUALS_OLD | Can not update or reset the password | New password must be different from current password |
| PASSWORD_UPDATE_OR_RESET | PASSWORD_RESET_RATE_LIMIT | Can not update or reset the password | Please wait {N} seconds before requesting another password reset |
| REQUEST_DATA_MISSING | N/A | Request data missing | {data} is missing in the request |
| HTTP_METHOD_NOT_ALLOWED | N/A | HTTP method not allowed | The request must have a method that is allowed |
| ROUTE_METHOD_MATCHING | N/A | Route method matching failed | Route method does not match with request method |
| ROUTE_NOT_FOUND | N/A | Route not found | Route with id <{id_value}> does not exist for the specified tenant |
| ROUTE_PATH_MATCHING | N/A | Route path matching failed | Route path does not match with request path |
| TENANT_CONFIG | N/A | Tenant configuration is not valid | {config_name} value is wrong or missing |
| TENANT_CONFIG | N/A | Tenant configuration is not valid | {config_name} value is wrong or missing ({target} value is {value}) |
| TENANT_NOT_FOUND | N/A | Tenant not found | Tenant with app id <{id_value}> does not exist |
| UNKNOWN_ROUTE_METHOD | N/A | Unknown route method | The specified route has unknown method |
| UNKNOWN_ROUTE_TYPE | N/A | Unknown route type | The specified route has unknown type |
| UNKNOWN_TOKEN_REVOCATION_TYPE | N/A | Unknown token revocation type | The specified token revocation type is unknown |
| USER_DATA_NOT_VALID | N/A | User data is not valid | User <data> property must be either a non-empty JSON object or a non-empty JSON array. Null values are not allowed in the JSON array |
| USER_DATA_UPDATE | N/A | Can not update the user data | It is not possible to update the user data at this time, please try again later |
| USER_DELETE | N/A | Can not delete the user | It is not possible to perform user deletion at this time |
| USER_NOT_FOUND | N/A | User not found | User does not exist |
| USERNAME_UPDATE | N/A | Can not update the username | It is not possible to perform username update at this time |
| USERNAME_UPDATE | TOKEN_EXPIRED | Can not update the username | This token has expired |
| USERNAME_UPDATE | TOKEN_ALREADY_USED | Can not update the username | This token has already been used |
| USERNAME_UPDATE | NEW_USERNAME_EQUALS_OLD | Can not update the username | New username must be different from current username |
| WRONG_APP_KEY | N/A | Wrong app key | Your app key does not match with the one in the tenant |
Updated about 1 month ago
Did this page help you?