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 code field and, if present, the subCode field in the JSON payload to identify specific errors.

📘

Values in {curly braces} in the message column are placeholders that are dynamically inserted at runtime when the error response is returned (e.g., {N} will be replaced with actual numeric values like 2).

Error Codes

codesubCodetitlemessage
ACCOUNT_CONFIRMATIONN/ACan not confirm the accountIt is not possible to perform account confirmation at this time
ACCOUNT_CONFIRMATIONTOKEN_EXPIREDCan not confirm the accountThis token has expired
ACCOUNT_CONFIRMATIONTOKEN_ALREADY_USEDCan not confirm the accountThis token has already been used
ACCOUNT_CONFIRMATIONRESEND_RATE_LIMITCan not confirm the accountPlease wait {N} seconds before resending user confirmation
AUTHENTICATIONN/AAuthentication failedIt was not possible to authenticate the user: {more_info}
AUTHENTICATIONUSER_NOT_FOUNDAuthentication failedIt was not possible to authenticate the user: user not found
AUTHENTICATIONMALFORMED_OR_MISSING_CREDENTIALSAuthentication failedIt was not possible to authenticate the user: malformed or missing credentials
AUTHENTICATIONWRONG_CREDENTIALSAuthentication failedIt was not possible to authenticate the user: wrong credentials
AUTHENTICATIONMULTIPLE_TOKENS_NOT_ALLOWEDAuthentication failedIt was not possible to authenticate the user: only one JWT can be processed
AUTHENTICATIONREFRESH_TOKEN_MISSINGAuthentication failedIt was not possible to authenticate the user: refresh token must be sent
AUTHENTICATIONREFRESH_TOKEN_NOT_ALLOWEDAuthentication failedIt was not possible to authenticate the user: refresh token must not be sent
AUTHENTICATIONTOKEN_CONFIG_MISSINGAuthentication failedIt was not possible to authenticate the user: access or refresh token config is not present in the tenant
AUTHENTICATIONTOKEN_NOT_VALIDAuthentication failedIt was not possible to authenticate the user: JWT verification failed
AUTHENTICATIONTOKEN_REVOKEDAuthentication failedIt was not possible to authenticate the user: can not accept a revoked JWT
AUTHORIZATIONN/AAuthorization failedIt was not possible to authorize the request: {more_info}
AUTHORIZATIONACCOUNT_NOT_CONFIRMEDAuthorization failedIt was not possible to authorize the request: user account not confirmed yet
AUTHORIZATIONINSUFFICIENT_AUTHORITIESAuthorization failedIt 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_ALLOWEDN/ANot allowed characters{input_name} input contains one or more not allowed characters (chars_list)
DESTINATION_ORIGIN_NOT_SAFEN/ADestination origin is not safeThe 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_VALIDN/AEmail not validThe provided email does not have a valid email format
EXISTING_USERN/AUser already existsA user with the provided username already exists (username must be unique for each user)
HEADER_PREFIXN/AHeader prefix errorSome header values must start with a specific prefix, eg. app-, key-, route-
HTTP_BODY_FORMATN/ABody format errorHTTP body format is not valid. It must be valid JSON and use only allowed values for fields restricted to predefined options
HTTP_NETWORK_ERRORN/ANetwork errorIt was not possible to handle the request because of a network error
HTTP_NETWORK_ERRORN/ANetwork errorFailed 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_LONGN/AInput is too long{input_name} value is too long (max length is {MAX})
INPUT_NOT_VALIDN/AInput is not valid{more_info}
LOGOUTN/ALogout failedIt was not possible to perform the logout: {more_info}
MFAN/AMFA failedCan not process MFA at this time
MFACHALLENGE_EXPIREDMFA failedThis MFA challenge has expired
MFACHALLENGE_ALREADY_COMPLETEDMFA failedThis MFA challenge has already been completed
ROUTE_CONFIG_NOT_ACTIVEN/ARoute config is not activeRoute configuration was saved but not activated
TENANT_CONFIG_NOT_ACTIVEN/ATenant config is not activeTenant configuration was saved but not activated
PASSWORD_UPDATE_OR_RESETN/ACan not update or reset the passwordIt is not possible to perform password update or reset at this time
PASSWORD_UPDATE_OR_RESETTOKEN_EXPIREDCan not update or reset the passwordThis token has expired
PASSWORD_UPDATE_OR_RESETTOKEN_ALREADY_USEDCan not update or reset the passwordThis token has already been used
PASSWORD_UPDATE_OR_RESETNEW_PASSWORD_EQUALS_OLDCan not update or reset the passwordNew password must be different from current password
PASSWORD_UPDATE_OR_RESETPASSWORD_RESET_RATE_LIMITCan not update or reset the passwordPlease wait {N} seconds before requesting another password reset
REQUEST_DATA_MISSINGN/ARequest data missing{data} is missing in the request
HTTP_METHOD_NOT_ALLOWEDN/AHTTP method not allowedThe request must have a method that is allowed
ROUTE_METHOD_MATCHINGN/ARoute method matching failedRoute method does not match with request method
ROUTE_NOT_FOUNDN/ARoute not foundRoute with id <{id_value}> does not exist for the specified tenant
ROUTE_PATH_MATCHINGN/ARoute path matching failedRoute path does not match with request path
TENANT_CONFIGN/ATenant configuration is not valid{config_name} value is wrong or missing
TENANT_CONFIGN/ATenant configuration is not valid{config_name} value is wrong or missing ({target} value is {value})
TENANT_NOT_FOUNDN/ATenant not foundTenant with app id <{id_value}> does not exist
UNKNOWN_ROUTE_METHODN/AUnknown route methodThe specified route has unknown method
UNKNOWN_ROUTE_TYPEN/AUnknown route typeThe specified route has unknown type
UNKNOWN_TOKEN_REVOCATION_TYPEN/AUnknown token revocation typeThe specified token revocation type is unknown
USER_DATA_NOT_VALIDN/AUser data is not validUser <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_UPDATEN/ACan not update the user dataIt is not possible to update the user data at this time, please try again later
USER_DELETEN/ACan not delete the userIt is not possible to perform user deletion at this time
USER_NOT_FOUNDN/AUser not foundUser does not exist
USERNAME_UPDATEN/ACan not update the usernameIt is not possible to perform username update at this time
USERNAME_UPDATETOKEN_EXPIREDCan not update the usernameThis token has expired
USERNAME_UPDATETOKEN_ALREADY_USEDCan not update the usernameThis token has already been used
USERNAME_UPDATENEW_USERNAME_EQUALS_OLDCan not update the usernameNew username must be different from current username
WRONG_APP_KEYN/AWrong app keyYour app key does not match with the one in the tenant

Did this page help you?