Skip to content

Error codes

How Authio reports errors on protocol endpoints, on the admin API and on the hosted screens, the HTTP status behind each kind of failure, and every code the API can answer with.

Authio answers errors in three places. Protocol endpoints speak OAuth 2.0, so the Authio libraries, like any standard one, understand them; the admin API wraps every error in its envelope, with a stable errorCode at the top; and the hosted screens show a failed sign-in on an error page with a reference code. All three carry the same codes underneath, so a failure reported by an integration can be matched to Authio’s logs.

Errors on protocol endpoints

The endpoints under /protocol/openid-connect/ answer with the fields of RFC 6749 §5.2 — error and error_description — plus error_code, the code behind the error. The Authio libraries throw them as AuthioProtocolError on Node.js and AuthioProtocolException on .NET, with the three fields as error, errorDescription and errorCode (Error, ErrorDescription and ErrorCode on .NET):

400 Bad RequestJSON
{
  "error": "invalid_grant",
  "error_description": "Authorization code expired!",
  "error_code": "AuthorizationCodeExpired"
}
errorHTTPCodes behind it
invalid_client401InvalidClientCredentials: a wrong secret or assertion, or one sent with a method the client is not registered for. Inactive: the client, or its realm, is switched off.
invalid_grant400AuthorizationCodeNotFound, AuthorizationCodeExpired, AuthorizationCodeClientMismatch, DeviceCodeNotFound, MissingCodeChallenge, MissingCodeVerifier, InvalidCodeVerifier, RefreshTokenFailed, InvalidUserAuthentication, UserLockedOut, LockedOut, EmailNotConfirmed, UserSuspended, ConnectionSubjectTokenInvalid; OrganizationSsoRequired when the password grant proves the password of an account whose organization requires its own providers; ClientAccessDenied when it proves the password of an account the client does not admit; NetworkNotApproved when it proves the password from an address the account may not sign in from yet; PasswordExpired when the password it proves is due for renewal.
invalid_request400InvalidRequest, InvalidRedirectUri, MissingGrantType, MissingCodeChallengeMethod, PkceMethodNotAllowed, RequiredFields, ConnectionRequestInvalid, a client that does not exist (NotFound), the refusals of a delegated token exchange (DelegationSubjectTokenRequired, DelegationSubjectTokenInactive, DelegationSubjectTokenTypeUnsupported, DelegationRequestedTokenTypeUnsupported, DelegationSubjectNotFound, DelegationClientNotFound, DelegationGrantNotFound, DelegationGrantAlreadyWithdrawn, DelegationNotPermitted, DelegationDepthExceeded), and any other refusal of the request itself.
invalid_scope400InvalidScope: a scope the client has not enabled. DelegationScopesExceedGrant: an exchange asking for more than the delegation grant allows.
invalid_target400InvalidTarget: a resource the client may not reach. ConnectionTargetInvalid, DelegationResourceExceedsGrant.
unauthorized_client400GrantTypeDisabled; AccountNotEntitled when the subscription behind the application is not active; ConnectionClientUnauthorized when the client is not the introspection client of a resource server; ClientQuarantined when the client is in quarantine and the quarantine keeps the request out.
unsupported_grant_type400UnsupportedGrantType
unsupported_response_type400UnsupportedResponseType
request_not_supported, request_uri_not_supported400RequestNotSupported, RequestUriNotSupported: Authio does not read request objects passed in request or request_uri.
access_denied400A denied device request; McpIntegrationNotIncluded, ConnectedAccountsNotIncluded, IntegrationLicenseSuspended, ConnectionLimitExceeded or ConnectionExchangeLimitExceeded when the plan does not cover the request; an authorization that names an organization with Members only on, for somebody who is not a member (sent to the redirect_uri); and any other refusal the caller is not allowed past.
connection_required, connection_selection_required, connection_policy_violation400ConnectionRequired, ConnectionSelectionRequired, ConnectionPolicyViolation: a connected account exchange that needs the user to connect, pick or reconnect an account. The answer also carries connect_uri, connection_provider and, when there are several, connections.
invalid_client_metadata, invalid_redirect_uri400ClientRegistrationMetadataInvalid, ClientRegistrationRedirectUriInvalid on Dynamic Client Registration.
invalid_token401A bearer token UserInfo refused, or ClientRegistrationInitialAccessTokenInvalid on Dynamic Client Registration. A realm that does not accept registrations answers 404 with ClientRegistrationDisabled.
authorization_pending, slow_down, expired_token400Device flow polling: keep waiting, poll more slowly, or start again. The error_code repeats the same value.
temporarily_unavailable429, 503429 when a rate limit or the attack protection holds the caller back; 503 with TemporarilyUnavailable or ConnectionProviderUnavailable when a service Authio depends on failed for a moment. Retry later.
server_error500Something failed on Authio’s side.

Introspection and revocation never fail because of the token itself: an invalid, expired or unknown token gets 200 with active: false from introspection, and a plain 200 from revocation. UserInfo answers 401 with invalid_token, or 403 with insufficient_scope, each with a WWW-Authenticate header.

During a sign-in in the browser, errors are not JSON. Until the redirect_uri is proven, they are shown on the error page of the hosted screens, which displays the code as a reference the person can copy; after that, they go back to the redirect_uri with error, error_description, state and iss. The codes that only appear on that page are marked “Error page” in the tables below.

Errors on the admin API

The admin API answers every failure with its envelope: success is false, the HTTP status says what kind of failure it was, errorCode names it, and notifications explains it to a person. A validation error answers ValidationFailed and names each refused field, with the rule it broke in the notification’s code:

400 Bad RequestJSON
{
  "statusCode": 400,
  "success": false,
  "notifications": [
    {
      "message": "The description is too long.",
      "field": "description",
      "code": "ValueTooLong"
    }
  ],
  "errorCode": "ValidationFailed",
  "requestId": "0HN8R3K5QJ2VA:00000004"
}

Codes are names, such as NotFound or AlreadyExists, and the same name can come from different areas: a missing realm and a missing client both answer NotFound. Read the code together with the endpoint you called, and keep the requestId when you report a problem. The envelope itself is described in Admin API. The admin clients of the SDKs throw the envelope as AuthioAdminError on Node.js and AuthioAdminApiException on .NET, with the HTTP status, errorCode, the notifications and the requestId: see Read what a refusal says.

HTTP status by kind of failure

Every error Authio raises declares what kind of failure it is, and each kind answers with one status. When an error carries no code of its own, the status picks a generic one, shown in the last column:

KindHTTPMeaningCode when none is given
Invalid400The request carried something the rules refuse.ValidationFailed
Unauthorized401The caller has not proven who they are, or the proof did not hold.Unauthorized
PaymentRequired402The action needs a plan or a payment the account does not have.UnexpectedError
Forbidden403The caller is known but may not do this.Forbidden
NotFound404What the request names does not exist, or is not visible to the caller.NotFound
Conflict409The request clashes with the current state of what it names.Conflict
Gone410What the request names existed once and is no longer available.UnexpectedError
Locked423What the request names is locked against the action.UnexpectedError
TooManyRequests429The caller sent too much and is held back for a while.TooManyRequests
NotImplemented501The action is not supported here.NotImplemented
UpstreamFailure502A service Authio depends on answered with a failure.UpstreamFailure
Unavailable503The capability is temporarily unavailable.UpstreamFailure
UpstreamTimeout504A service Authio depends on did not answer in time.RequestTimeout
Unexpected, anything else500A failure the caller could not have caused.UnexpectedError

Requests refused before they reach an endpoint use the same envelope: 400 with RequiredFields for a body or route value that cannot be read, 404 for an unknown route (NotFound), 405 for a method the route does not accept (MethodNotAllowed), 415 for a body that is not JSON (UnsupportedMediaType) and 429 for a rate limit (TooManyRequests).

Every code

The tables below list every code the API answers with, grouped by area. Where a code can answer with more than one status, both are shown; where it only appears on the hosted error page or in a redirect, the HTTP column says so.

Requests and the platform

CodeHTTPWhat it meansWhat to do
ValidationFailed400The body broke a rule, or could not be read. Each notification names the field and the rule; see validation rules.Fix the fields named in notifications.
RequiredFields400A body or route value is missing or has the wrong type, so the request never reached the endpoint.Send every field the endpoint requires, with the right type.
HumanCheckFailed400The Cloudflare Turnstile token of a request that asks for one, such as creating an account without a session, was missing, already used, expired or refused.Run the check again and send the new token; each token is good for one request. See human check.
NotFound404The route or the resource does not exist, or belongs to another account.Check the path and the IDs.
MethodNotAllowed405The route exists but does not accept that HTTP method.Use the method the endpoint documents.
UnsupportedMediaType415The body was not sent as JSON.Send Content-Type: application/json.
Conflict409The change clashes with data saved meanwhile, or would duplicate a value that must be unique.Read the resource again and retry.
TooManyRequests429The rate limit was reached.Wait the seconds in Retry-After.
TemporarilyUnavailable503Authio could not reach its database or cache for a moment; nothing was changed.Wait the seconds in Retry-After and send the same request again.
UpstreamFailure502, 503A service Authio depends on failed or could not be reached.Retry later.
RequestTimeout504The request did not finish in the time allowed.Retry later.
NotImplemented501The operation is not available on this deployment.Nothing to fix on your side; use another way to do it.
UnexpectedError500Something failed on Authio’s side.Retry; if it persists, contact support with the requestId.

Validation rules

These codes appear in notifications[].code of a 400 ValidationFailed answer, one per refused field. The notification’s field says which value broke the rule.

CodeHTTPWhat it meansWhat to do
ValueRequired400A required value was left out or empty.Send the value.
ValueTooLong400The value is longer than the field allows.Shorten it.
ValueTooShort400The value is shorter than the field requires.Lengthen it.
ValueLengthOutOfRange400The length of the value is outside the range the field allows.Send a value within the length the message names.
ValueOutOfRange400The number is outside the range the field allows.Send a number within the range the message names.
ValueNotAllowed400The value is not one of those the field accepts.Send one of the accepted values.
ValueMismatch400The value does not match the one it has to repeat, such as a password confirmation.Send the same value in both fields.
FormatInvalid400The value does not have the shape the field requires.Follow the format the message describes.
ValueInvalid400The value broke a rule that has no more specific code.Read the message and fix the value.
EmailInvalid400The e-mail address is not one Authio can send to.Use a valid address.
PhoneNumberInvalid400The phone number is not in international format, or has more than 15 digits.Send it as + followed by the country code and number.
UrlInvalid400The address is not an absolute http:// or https:// URL.Send the full URL.
HttpsUrlRequired400The address is not an absolute https:// URL.Use https://.
DateNotInFuture400The date is not in the future.Pick a later date.
ColorInvalid400The colour is not a hex value such as #1E88E5 or #FFF.Send a hex colour.
CustomCssUnsafe400The custom CSS holds something the sign-in pages refuse to load.Remove imports, external URLs and scripts from the CSS. See hosted login.
RealmIdInvalid400The realm ID is not made of lowercase letters, digits or hyphens within the allowed length.Use a lowercase slug, such as acme-prod.
HostEntryInvalid400A host is not a domain name, optionally starting with *., without a scheme, port or path.Send only the host, such as app.example.com or *.example.com.
ScopeNameInvalid400A scope name holds spaces, double quotes, backslashes or characters that cannot be printed.Use a name such as orders:read.
ClaimTypeReserved400The claim type is reserved by the protocol.Pick another claim name.
ClaimTypePlatformOwned400Authio writes that claim itself, so it cannot be set by hand.Pick another claim name.
RoleNameReserved400The role name is reserved by the platform.Pick another name.
RoleNameInvalid400The role name cannot travel in a URL path: it is . or .., or holds %2F.Pick another name.
RedirectUriInvalid400A redirect URI is not an absolute http:// or https:// address without a fragment, nor a private-use scheme a public client may use.Fix the address.
PostLogoutRedirectUriInvalid400A post-logout redirect URI is not an absolute http:// or https:// address without a fragment.Fix the address.
FrontChannelLogoutUriInvalid400The front-channel logout URI is not one absolute http:// or https:// address without a fragment.Fix the address.
BackChannelLogoutUriInvalid400The back-channel logout URI is not one absolute https:// address without a fragment.Use an https:// address.
DocumentUrlInvalid400The address of a published document, such as the terms of service or the privacy policy, is not an absolute http or https URL within the allowed length.Send the full URL.
ClientAuthMethodUnsupported400The client authentication method is not one Authio supports.Pick a supported method.
ClientSecretNotSettable400The client secret cannot be set by an update.Rotate the secret instead.
GrantTypeUnknown400No grant type has the identifier given.Use an identifier from the grant type list.
PkceMethodUnknown400No PKCE method has the identifier given.Use S256 or plain.
SignInStepUnknown400No sign-in step has the identifier given.Use a step from the login flow list.
AlgorithmCombinationInvalid400The token’s cryptographic algorithms do not work together.Pick algorithms that combine. See token signing.
SigningConfigurationInvalid400The ID token signing configuration is incomplete or contradictory.Complete the signing settings.
AccessTokenSigningAlgorithmInvalid400The access token signing algorithm does not suit the client’s key.Pick an algorithm that matches the key.
EncryptionConfigurationInvalid400The token encryption configuration is incomplete or contradictory.Complete the encryption settings.
ContentEncryptionUnsupported400Encrypted tokens cannot use AES-GCM content encryption.Pick an A…CBC-HS… content encryption.
TypeNotChangeable400A record keeps the kind it was created as.Create a new record of the other kind.
UniqueEmailRequired400Signing in by e-mail address requires unique e-mail addresses in the realm.Turn on unique e-mail addresses first.
TermsNotAccepted400The terms were not accepted.Accept the terms.
NotSelfEditable400That value cannot be changed on your own account.Ask another administrator to change it.
DeletionRequiresOwnRoute400An account is deleted through its own route, not by changing its status.Call the delete endpoint.
SecretValueGenerated400Authio generates the value of an API key, a client secret or a personal access token; none may be sent.Leave the value out.
SecretNotRotatable400Only an API key, a client secret or a personal access token can be rotated.Create a new secret instead.
RotationOverlapWithRevocation400A rotation cannot both keep the previous value working and revoke what it issued.Choose one of the two.
HmacKeyNotStored400HMAC keys are not stored: a client that signs with HS256, HS384 or HS512 signs with its secret.Use the client secret, or pick an asymmetric algorithm.
WebhookUrlInvalid400The webhook URL is not an absolute https:// address with a host.Use an https:// URL.
WebhookEventUnknown400An event the endpoint subscribes to does not exist.Pick events from the event list.
WebhookEventOutOfScope400An event the endpoint subscribes to is not raised where the endpoint is registered.Subscribe to it on an endpoint of the right level.
IdentityProviderEndpointsRequired400The identity provider publishes no fixed endpoints, so an authority or its endpoints are required.Fill in the authority or the endpoints.
ScopeIsClaim400A value asked for as a scope is a claim the provider refuses as one, such as xms_edov.Remove it from the scopes.
EndpointInvalid400The address Authio calls is not an absolute https address with a host and no fragment.Fix the address.
PrivateNetworkAddress400The address points at a private or local network, which Authio does not call.Use a public address.
ClaimNotIssuedByProvider400The setting reads a claim the selected provider does not issue.Pick a claim the provider issues.
AdminScopeInvalid400A value of an API secret’s adminScopes is not an admin API permission: it must read admin:{permission}:{method}, such as admin:realm:read. A realm scope such as realm:read is refused too.Write each permission with the admin: prefix, a permission and a method of the admin API.

Users and sign-in

CodeHTTPWhat it meansWhat to do
Unauthorized401The call carries no valid credentials.Send an API secret or a bearer token from the platform realm.
Forbidden403The caller is authenticated but lacks the permission.Grant the role, or allow it on the API secret.
NotFound404The user does not exist, or belongs to another realm.Check the user ID.
SystemDataNotFound404The console data of the signed-in person was not found.Sign in again; if it persists, contact support.
CreateFailed, UpdateFailed400The user could not be created or changed; the notifications say why, such as a password the policy refuses.Fix what the notifications name.
AddRoleFailed400The role could not be given to the user.Check the role and try again.
AddClaimFailed400The claim could not be given to the user.Check the claim and try again.
TokenNotFound404The user token (such as a confirmation or reset link) was not found.Ask for a new link.
DeleteTokenFailed400A user token could not be removed.Try again.
TokenIsSecondFactor400The token named for deletion is the authenticator app’s key or the recovery codes ([AspNetUserStore]), which are no token and are not listed with the tokens.Reset the authenticator app with DELETE /api/v1/admin/users/{userId}/mfa/totp, or turn your own off in Account Security.
InvalidCredentials401The user name or the password is wrong.Check them and try again.
LockedOut401, 423Too many failed attempts: the account is locked for a while.Wait until the lockout ends.
SignInNotAllowed401Sign-in is not allowed for this account.Ask an administrator of the realm.
PasswordExpired401The password has to be renewed. The token endpoint answers it as invalid_grant.Renew it through the link sent by e-mail.
AccountNotConfirmed401The account has not confirmed what the realm requires, such as its e-mail address.Confirm it, then sign in again.
AccountInactive401The account was deactivated.An administrator of the realm activates it again.
ClientAccessDenied401, 400The credentials are right, but the account has no access to this application. The password grant answers it as invalid_grant (400).Give the account access to the client.
SubscriptionLapsed401The account has no active plan, so sign-in is paused.Choose a plan to bring it back.
FirstPurchasePending401The account was created on a paid plan that was never paid.Finish the payment.
InvalidTwoFactorCode400The two-factor code is not valid for this account.Type the current code again.
SecondFactorConfirmationRequired400Taking one of your own second factors off (the authenticator app, its recovery codes, a passkey or a phone), or adding one next to a factor you already have (turning the app on, pairing a phone, registering a passkey), needs proof that it is you, and the request sent none. data.methods lists by name, in this order, what the account can prove with, among AuthenticatorApp, RecoveryCode, Password and Passkey.Send { "code": "…" } (the app’s code or a recovery code), { "password": "…" } or { "passkey": { "ceremonyId": "…", "assertion": … } } with a challenge from POST /api/v1/admin/users/me/passkeys/proof/options; turning the app on takes it under confirmation. With nothing listed, an administrator removes the factor, and the account cannot add another on its own. See Removing your own factor and Adding a factor when you already have one.
SecondFactorConfirmationInvalid400The code, the password or the passkey sent to confirm the removal or the addition is wrong, a recovery code was already used, or the account has no such way. For a passkey the notice is on the passkey field: the challenge lapsed, was used or is somebody else’s, the passkey is another account’s or was removed meanwhile, the device did not verify the person, or the signature, origin or counter does not match. It counts toward the realm’s lockout.Type the current code, an unused recovery code or the password again, or ask for a new challenge and confirm with the passkey again: each try spends its challenge. Once the lockout is reached the answer is LockedOut (423).
InvalidCurrentPassword400The current password you typed is not your password.Type your current password.
InvalidUserName400The user name holds a character the realm does not allow.Use only the characters the realm allows. See security policies.
DuplicateUserName, DuplicateEmail409The user name or e-mail is already taken in the realm.Use another one.
InvalidTaxId400The tax ID is neither a valid CPF nor a valid CNPJ.Check the number.
DuplicateTaxId409The tax ID already belongs to another account.Use the account that already holds it.
OriginClientUnlinkNotAllowed409Removing that access would leave the user without the client they were created under.Keep the access to the client the user was created under.
ClientLinkNotAllowed403A credential limited to one client tried to give a person access to that client.Use a credential that is not limited to the client.
SystemUserDeletionNotAllowed409A console account cannot be deleted as a user; it leaves its team instead.Remove the person from the team.
AuthenticatorAppAlreadyEnabled409An authenticator app is already set up on the account.Remove it before setting up another.
AuthenticatorAppNotEnabled409The account has no authenticator app set up.Set one up first.
EnrolmentAlreadyHeld409The required enrolments (PUT /api/v1/admin/users/{userId}/required-enrolments) ask the person to register a passkey or a phone they already hold, so the next sign-in would ask nothing.Nothing to do; the user already has it.
UserSuspended401The user is suspended, so they cannot sign in, receive a token or use one they hold.Lift or wait out the suspension. See suspensions.

Account and team

CodeHTTPWhat it meansWhat to do
AccountNotFound404No account matches the identifier.Check the account ID.
MemberNotFound404The member does not belong to this account.Reload the team and pick the member again.
MemberAlreadyExists409The address you invited already belongs to a member.Nothing to do; they are on the team.
UserBelongsToAnotherAccount409The person you invited already belongs to another account.Invite another address, or ask them to leave the other team first.
InvitationNotFound404No invitation matches the link.Ask for a new invitation.
InvitationNotPending410The invitation has lapsed, was revoked, or was already accepted.Ask for a new invitation.
InvitationAlreadyPending409That address already has an invitation waiting for an answer.Resend or revoke the pending one.
InvitationAddressMismatch403The invitation was sent to another address than the one accepting it.Sign in with the invited address.
SeatLimitExceeded402Every seat of the team is taken.Free a seat or add seats.
InvalidRole400The role is not one a member can be invited with or changed to.Pick one of the team roles.
OwnerOnlyAction403Only the account owner can do this.Ask the owner.
LastOwnerCannotLeave409The account would be left without an owner.Transfer ownership first.
TransferTargetNotEligible400Ownership can only go to an active member of the account.Pick an active member.
TransferConfirmationMismatch400The confirmation you typed does not match what the transfer asked for.Type the confirmation exactly as shown.
NotAPlatformUser403The signed-in person does not belong to the platform’s own realm, so no account can be founded for them in the console.Sign up through the console.
PlatformAccountNotBilled403The platform’s own account is not billed, so it has no plan, card or billing portal.Nothing to do.
CannotGrantCreditToOwnAccount400A platform operator tried to grant credit to their own account.Another operator grants it.
NoBillingCustomer400, 404The account never subscribed, so it has no billing customer for credit or the billing portal.Subscribe to a plan first.
AccountSecondFactorRequired403The account requires a second factor of you, the grace is over and you signed in without one, so your session carries none of the account’s permissions.Turn on an authenticator app on your security page and sign in again with it. See Require a second factor of the team.
SecondFactorSessionRequired403The action needs a session that signed in with a second factor: changing the account’s second-factor policy, or making or rotating an API key or a personal access token while the policy covers you.Sign in again with your authenticator app, passkey or phone, then repeat the action.
AccountSecondFactorUnavailable409The second-factor policy was turned on or widened while the console’s sign-in does not ask for the authenticator app, so a member without a factor would have nowhere to turn one on.Keep the policy as it is for now. Turning it off or narrowing it is never refused for this.

Realms and clients

CodeHTTPWhat it meansWhat to do
NotFound404The realm or client does not exist, or belongs to another account.Check the realm ID and the client ID.
Forbidden401You may not change this client.Use a credential with access to the client.
AlreadyExists409A realm or client with that ID already exists.Pick another ID, or read the existing one.
Inactive403The realm or client is deactivated. On protocol endpoints this answers 401 invalid_client.Activate it again.
Reserved409The ID is reserved: authio, system, platform, admin, master and internal cannot be used.Pick another ID.
SystemProtected403The platform’s own realm and client cannot be taken out of service or put in quarantine.Leave them active.
InconsistentConfiguration400The client configuration contradicts itself and would prevent sign-in.Fix the settings named in notifications.
PublicClientHasNoSecret400A public client has no secret to rotate.Make the client confidential first, if it needs a secret.
DeprecatedEncryptionAlgorithm400The token configuration creates a client with, or moves one to, RSA1_5, which is legacy. A client already on it may keep it.Use RSA-OAEP-256 (or RSA-OAEP) in encryptionAlgorithmKey.
EmailTextInvalid400The client’s own e-mail text (PUT …/clients/{client}/email-texts/{kind}/{locale}) was refused, or the language is not one the e-mails are written in.Fix the text named in notifications, and use a supported language.
ClientGroupNotFound404The client group does not exist, or is not yours.Check the group ID.
ClientGroupAlreadyExists409A client group with that name already exists in the realm.Pick another name.
ClientGroupMemberNotFound404The client does not belong to the group.Reload the group.
ClientGroupMemberAlreadyGrouped409The client already belongs to another group.Take it out of the other group first.
ClientGroupMemberOutsideRealm400The client belongs to another realm than the group.Pick a client of the same realm.

Tokens and authorization

CodeHTTPWhat it meansWhat to do
InvalidClientCredentials401The client secret or assertion is wrong, or sent with a method the client is not registered for.Check the secret and the authentication method on the client.
GrantTypeDisabled400The grant is not enabled on the client.Enable it on the client.
InvalidRequest400A required parameter is missing, or the request is otherwise malformed.Read error_description and fix the request.
InvalidRedirectUri400The redirect_uri does not equal a registered one.Register the exact address: scheme, host, port, path and query.
InvalidScope400A requested scope is not enabled on the client.Enable it, or stop asking for it.
MissingCodeChallenge400The client requires PKCE and the request carried no code_challenge.Send code_challenge and code_challenge_method.
MissingCodeChallengeMethod400The client requires PKCE and the request carried no code_challenge_method.Send code_challenge_method=S256.
PkceMethodNotAllowed400With PKCE on, the code_challenge_method is not one of the methods enabled on the client. With PKCE off, Authio accepts any method it supports (S256, plain) and checks the verifier, so the error means the method is not one Authio supports.With PKCE on, send a method the client enables, or enable it. With PKCE off, send S256 or plain.
MissingCodeVerifier400The client requires PKCE and the token request carried no code_verifier.Send the verifier the challenge was made from.
InvalidCodeVerifier400The code_verifier does not match the challenge.Send the verifier the challenge was made from.
AuthorizationCodeNotFound400The code was never issued, or was already exchanged.Start the sign-in again; exchange each code once.
AuthorizationCodeExpired400The code is valid for 30 seconds and was exchanged too late.Exchange the code as soon as it arrives.
AuthorizationCodeClientMismatch400The code was issued to another client or realm than the one exchanging it.Exchange it with the client that started the sign-in.
DeviceCodeNotFound400The device code was never issued, was issued to another client, or was already exchanged.Start a new device authorization.
authorization_pending, slow_down, expired_token, access_denied400Device flow polling: the user has not decided yet, you are polling too fast, the code expired, or the user declined.Keep polling at the interval, slow down, or start again.
RefreshTokenFailed400The refresh token was refused: spent, replayed, or its session or account is gone.Sign the user in again. When a full suspension ended the session, the access log has the refusal with the person, as Account suspended.
InvalidUserAuthentication400The user’s credentials sent with the password grant are wrong.Check the user name and password.
UserLockedOut400, 423The user is locked out after too many failed attempts.Wait until the lockout ends.
EmailNotConfirmed400, 401The user’s e-mail address is not confirmed.Confirm it, then sign in again.
JwtGenerationFailed400The token could not be built from the client’s token settings.Check the client’s signing and encryption keys.
UnsupportedGrantType400The grant_type is not one Authio issues.Use one of the supported grants.
MissingGrantType400The token request carried no grant_type.Send grant_type.
UnsupportedResponseTypeRedirectThe response_type is not one Authio supports.Use code.
RequestNotSupported, RequestUriNotSupportedRedirectThe authorization request carried a request object in request or request_uri, which Authio does not read.Send the parameters in the query string.
InvalidTarget400The resource is not a resource server the client may reach.Give the client access to the resource server.
LoginFlowNotConfiguredError pageThe client has no login flow, so it cannot show a sign-in screen.Set up the client’s login flow.
SingleSignOnSessionNotFound404The single sign-on session has ended, expired or never existed.Reload the sessions.
GrantTypeNotFound404No grant type has that identifier.Use an identifier from the grant type list.
LoginFlowNotFound404No login flow has that identifier.Use an identifier from the login flow list.
PkceMethodNotFound404No PKCE method has that identifier.Use an identifier from the PKCE method list.

External identity providers

CodeHTTPWhat it meansWhat to do
IdentityProviderNotFound404The realm has no identity provider with that alias or ID.Check the alias.
DuplicatedIdentityProviderAlias409The realm already has an identity provider with that alias.Pick another alias.
IdentityProviderTimeout504The identity provider did not answer in the time a sign-in allows.Try again; check the provider’s status.
ExternalSignInCancelledError pageThe provider answered with an error: the person cancelled or refused there, or the provider turned the request down.Start the sign-in again.
ExternalAccountNotLinked403No account is linked to the external identity, and the provider is set not to create one.Link the account first, or let the provider create accounts.
ExternalAccountInactive403The account linked to the external identity is not active.Activate the account.
ExternalAccountEmailInUseError pageNo account could be created for the external identity: its e-mail or user name already belongs to another account.Sign in to that account and link the provider from it.
ExternalSignInRefusedError pageThe linked account was found, but its sign-in was refused.An administrator checks the account’s status.
ExternalSignInFailedError pageThe sign-in through the provider failed for a reason the person cannot act on.Try again; if it persists, check the provider’s configuration.
FederationMappingNotFound404The mapping rule does not exist, or belongs to a provider you do not administer.Reload the rules.
FederationMappingClaimRequired400The rule names no claim.Name the claim the rule reads.
FederationMappingValueRequired400The rule needs a value to compare and has none.Fill in the value.
FederationMappingRoleNotFound404The role does not exist, or is not one this provider’s realm may grant.Pick a role of the realm.
FederationRequiredClaimMissing403The provider did not send a claim a rule requires, so the sign-in was refused.Make the provider send the claim, or relax the rule.
InvalidIdentityProviderConfiguration400A SAML provider was turned on without its entity ID, single sign-on URL or a signing certificate. One notification names each value that is missing.Fill them in, by hand or from the provider’s metadata, or save the provider turned off until you have them.
SamlMetadataInvalid400The SAML metadata, read from its address or pasted, does not describe one usable identity provider. The message says why.Use the metadata of a single identity provider, with its entity ID, a single sign-on service and a signing certificate.
SamlMetadataUnreachable400The metadata address could not be read.Use an address that is public, answers over https without redirecting and is reachable from the internet, or paste the metadata.
SamlResponseInvalidError pageThe provider’s SAML response was refused: not signed, or signed with a certificate not in force or with SHA-1; addressed to another service provider or another sign-in; expired or already used; with an encrypted assertion; or without a subject an account can be linked to (missing, transient or reassignable).Fix it at the identity provider (SHA-256 signatures, assertion encryption off, a persistent NameID or a subject attribute) and sign in again.

Dynamic client registration

CodeHTTPWhat it meansWhat to do
ClientRegistrationDisabled404The realm does not accept dynamically registered clients, or does not exist.Turn on dynamic registration on the realm.
ClientRegistrationInitialAccessTokenInvalid401The realm asks for an initial access token and the request carried none, or one that may not create clients there.Send a valid initial access token as a bearer token.
ClientRegistrationMetadataInvalid400A metadata value is malformed or outside what the realm’s registration policy allows.Fix the value named in error_description.
ClientRegistrationRedirectUriInvalid400A redirect URI is malformed or outside what the realm’s registration policy allows.Use a redirect URI the policy allows.

Integration plans

CodeHTTPWhat it meansWhat to do
IntegrationPlanStackNotSupported400No integration plan is written for that stack yet.Follow the client’s integration guide for the stack instead.
IntegrationPlanClientNotCompatible409The client cannot sign in through the stack: it is not allowed the authorization code grant, or allows only the plain PKCE method. The message names the setting.Allow the authorization code grant, or S256, on the client and generate the command again.
IntegrationPlanRealmNotAllowed403The client belongs to the platform’s own realm, for which no plan is written.Generate the command from a client of one of your realms.
IntegrationTicketInvalid401The ait_… code was already used, has expired (it lasts 10 minutes) or does not exist.Generate another command with Set it up from your terminal in the client’s integration guide.
IntegrationVerificationInvalid401The verification code has expired or does not exist, so it no longer answers about the first sign-in.Check the first sign-in in the last step of the client’s integration guide, which still shows it.

Organizations

CodeHTTPWhat it meansWhat to do
OrganizationNotFound404The organization does not exist, or is not yours.Check the organization ID.
OrganizationAlreadyExists409An organization with that alias already exists in the realm.Pick another alias.
OrganizationMemberNotFound404The user is not a member of the organization.Reload the members.
OrganizationMemberAlreadyExists409The user already belongs to the organization.Nothing to do.
OrganizationMemberOutsideRealm400The user belongs to a client outside the organization’s realm.Pick a user of the same realm.
OrganizationDomainNotFound404The organization has not claimed that domain.Reload the domains.
OrganizationDomainAlreadyExists409The domain is already claimed, here or by another organization.Remove the other claim first.
OrganizationDomainVerificationFailed400The DNS record does not carry the value the claim expects.Publish the TXT record shown and verify again.
OrganizationIdentityProviderNotFound404The organization does not offer that identity provider.Reload the providers.
OrganizationIdentityProviderAlreadyExists409The organization already offers that identity provider.Nothing to do.
OrganizationIdentityProviderOutsideRealm400The identity provider belongs to another realm.Pick a provider of the same realm.
OrganizationSsoRequired403 · Error pageThe account’s organization requires its own providers, and the sign-in used a password, a code, a passkey or another provider. The token endpoint answers it as invalid_grant.Sign in through the organization’s provider.
OrganizationSsoRequiresDiscovery400SSO required was turned on while the organization is not found by email domain. Names the field enforceSso.Turn on discoverableByDomain, in the same request if you like.
OrganizationSsoRequiresProvider400SSO required was turned on while the organization offers no active identity provider. Names the field enforceSso.Offer an active provider first.
OrganizationSsoLastProvider409The provider is the last active one of an organization with SSO required.Offer another active provider, or turn SSO required off, first.
OrganizationMemberRoleLimitExceeded400A member or an invitation would hold more than 20 distinct roles. Names the field roleIds.Pick 20 roles at most.
OrganizationInvitationNotFound404The invitation does not exist, or belongs to another organization.Reload the invitations.
OrganizationInvitationAlreadyPending409The organization already has an invitation pending and within its time for that address. Names the field email.Resend the invitation that exists, or revoke it before inviting again.
OrganizationInvitationNotPending409The invitation was already accepted or revoked, so it can be neither resent nor revoked.Reload the invitations. To call the person again, send a new invitation.
OrganizationInvitationResendTooSoon429The invitation’s last message went out less than 5 minutes ago.Wait a few minutes and resend.
OrganizationInvitationLimitReached409The organization already holds 500 invitations pending and within their time.Revoke the ones that will not be used, or wait for them to expire.
OrganizationInvitationClientCannotSignIn400The client has no http or https return address, so nobody signs in through it from a browser. Names the field clientId.Pick another application, or register an https return address on the client.
OrganizationInvitationContinueUrlNotAllowed400The continuation address is not an absolute http or https address, or is not at the origin of one of the client’s return addresses. Names the field continueUrl.Use an address of the application’s site, or leave the field empty to use the default origin.
OrganizationInactive409The organization is suspended and admits nobody, not even by invitation.Reactivate the organization before inviting.

Roles and groups

CodeHTTPWhat it meansWhat to do
NotFound404The role does not exist.Check the role name or ID.
AlreadyExists409A role with that name already exists.Pick another name.
SystemRoleProtected403A system role cannot be changed or deleted.Create a role of your own.
NotAssignable400One of the roles is not yours to hand out, or is exclusive to an owner that does not reach whoever receives it, such as an organization member or an invitation.Pick roles you may grant to that receiver.
WiderThanCaller403The role would grant an admin API permission you do not hold yourself.Narrow the role, or ask someone who holds the permission.
GroupNotFound404The group does not exist, or is not yours.Check the group ID.
GroupAlreadyExists409A group with that name already exists on the client.Pick another name.
GroupMemberNotFound404The user is not a member of the group.Reload the members.
GroupMemberAlreadyExists409The user already belongs to the group.Nothing to do.
GroupMemberOutsideClient400The user belongs to another client than the group.Pick a user of the same client.

Scopes and resource servers

CodeHTTPWhat it meansWhat to do
NotFound404The scope does not exist, or is not yours.Check the scope name.
AlreadyExists409The account already has a scope with that name, ignoring case.Pick another name.
Reserved409The name is defined by the protocol or the platform.Pick another name.
NotAssignable400, 403One of the scopes is not yours to hand out.Pick scopes you may grant.
ResourceServerNotFound404The resource server does not exist, or is not yours.Check the ID.
ResourceServerAlreadyExists409A resource server with that identifier already exists in the realm.Use another identifier.
ResourceServerIdentifierInvalid400The identifier is not an absolute http or https URI without a fragment.Use a URI such as https://api.example.com.
ResourceServerScopesRequired400The resource server has no scope.Add at least one scope.
ResourceServerScopeInvalid400A scope name is empty, too long, or holds a character a scope cannot hold.Fix the scope name.
ResourceServerScopeDuplicated400The same scope name was given twice.Remove the duplicate.
ResourceServerClientOutsideRealm400The client belongs to another realm, or does not exist.Pick a client of the same realm.
ResourceServerIntrospectionClientNotConfidential400The client chosen to introspect tokens is public, so it has no secret to prove itself with.Pick a confidential client.

Claim mappers

CodeHTTPWhat it meansWhat to do
ClaimMapperNotFound404The rule does not exist, or is not yours.Reload the rules.
ClaimMapperClaimNameTaken409The client already publishes a claim under that name.Pick another name, or edit the existing rule.
ClaimMapperPropertyRequired400The rule reads a user property but names none.Pick the property.
ClaimMapperValueRequired400The rule publishes a constant but has no value.Fill in the value.
ClaimMapperNoDestination400The rule publishes into neither token, so it would never apply.Turn on the access token, the ID token, or both.
ClaimMapperReservedClaim400The claim would overwrite one the protocol reserves, one Authio writes itself or one a standard scope (profile, email, phone) releases.Pick another claim name; for a claim a scope releases, request that scope instead.

Secrets and signing keys

CodeHTTPWhat it meansWhat to do
NotFound404The secret does not exist.Check the secret ID.
AlreadyExists409A secret with that name already exists.Pick another name.
AccessDenied403You may not use or change this secret.Ask someone with access to it.
WiderThanCaller403The secret you are creating, changing or rotating would reach further than you do: more realms, clients or permissions than you hold. Admin API permissions given to it directly that you do not hold are named in data.adminScopes.Narrow the secret to what you hold.
SecurityKeyNotFound404The signing key does not exist, or is not yours.Reload the keys.
SecurityKeyAlreadyRevoked409The key was already revoked.Nothing to do.
SecurityKeyOnlyActive409The key is the client’s only active one; revoking it would leave nothing to sign with.Create or rotate to a new key first.
SecurityKeyRevokedNotCurrent409A revoked key cannot become the current signing key.Pick an active key.

Passkeys and the authenticator app

CodeHTTPWhat it meansWhat to do
NotEnabled400The client does not offer the passkey step.Add the passkey step to the client’s login flow.
ChallengeNotFound400No passkey challenge is open, or it expired.Start the ceremony again.
VerificationFailed401The authenticator’s answer did not match the challenge.Try again with the same device.
CredentialNotFound404The passkey is not registered, or belongs to someone else.Use a registered passkey.
CredentialAlreadyRegistered409The passkey is already registered, here or on another account.Nothing to do, or use another device.
NoCredentialsRegistered400The user has no passkey to sign in with, or to confirm it is them with (POST /api/v1/admin/users/me/passkeys/proof/options, POST /realms/{realm}/clients/{client}/webauthn/proof/options).Register a passkey first, or confirm with a code from the app, a recovery code or the password.
LastCredentialForPasswordlessUser409Removing this passkey would leave the account with no way in. It comes before any proof, so neither a recovery code nor a passkey challenge is spent.Add another passkey or a password first.
RelyingPartyNotConfigured500Passkeys are not configured on this deployment.On a Dedicated environment, check the passkey settings in Configuration.
EnrolmentInvalid400The pairing code was never issued, has lapsed, or was already used.Show a new pairing code.
DeviceLimitReached400The account already has as many paired phones as it may.Remove a phone first.
DeviceNotFound404The phone is not paired to this account, or was removed.Reload the devices.
NoDeviceEnrolled400The account has no phone that can be asked anything.Pair a phone first.
ChallengeNotAnswerable400The push question is unknown, has lapsed, or was already answered.Start the sign-in again.
SignatureInvalid401The phone’s signature does not match its registered key.Pair the phone again.
UserVerificationRequired400The question has to be approved with the phone’s fingerprint, face or screen lock, and was not.Approve it with the phone’s lock.
DeviceAuthorizationNotAnswerable400The scanned sign-in request is unknown, has lapsed, was already answered, or belongs elsewhere.Scan the code shown now.
SessionNotFound404The session is not one this account holds, or has ended.Reload the sessions.
PasswordResetUnavailable409The password reset this phone approved can no longer set the password: it lapsed, continued in the browser, or the password was already changed.Start the reset again.
PushNotEnabledError pageThe client does not offer the push approval step.Add the push step to the client’s login flow.
PushNotConfigured500No push transport is configured on this deployment.On a Dedicated environment, set the push variables in Configuration.

Network access

CodeHTTPWhat it meansWhat to do
NetworkAllowedIpNotFound404The allowlist entry does not exist, or belongs to a client you do not administer.Reload the list.
NetworkAllowedIpInvalid400The value is neither an address nor a block of addresses.Send an IP, such as 203.0.113.7, or a CIDR block.
NetworkAllowedIpAlreadyRegistered409The client already admits that address.Nothing to do.
NetworkAllowlistEmpty400The client is set to admit only listed addresses, and the list is empty.Add an address before turning the allowlist on.
NetworkUserIpNotFound404The address record does not exist, or belongs to a realm you do not administer.Reload the list.
NetworkUserIpAlreadyDecided409The address was already approved or blocked.Nothing to do.
NetworkApprovalChallengeInvalid400The approval link was not issued by Authio, or no longer answers for anything.Sign in again to receive a new link.
NetworkNotApproved403The credential is right, and the account may not sign in from this address yet: nobody has approved the address, or somebody blocked it. Answered to the password grant and to a device sign-in approved in the authenticator app from that address. The token endpoint answers it as invalid_grant.Have the address approved, from the message sent to the account holder or by an administrator of the realm, then try again. Do not ask for the password again: it was right.

Suspensions

CodeHTTPWhat it meansWhat to do
UserSuspended401The user is suspended, so they cannot sign in, receive a token or use one they hold.Lift or wait out the suspension.
UserSuspensionNotFound404The suspension does not exist, or belongs to a user you do not administer.Reload the suspensions.
UserSuspensionSubjectNotFound404The person does not belong to the client, or does not exist.Check the user ID.
UserSuspensionSelf400You tried to suspend your own account.Ask another administrator.
UserSuspensionInvalidPeriod400The suspension would end before it starts, or has already ended.Fix the dates.
UserSuspensionEmptyScopes400A partial suspension names no scope to withhold.Pick at least one scope.
UserSuspensionScopesExceedClient400A partial suspension names scopes the person’s application never asks for.Pick scopes of the client.
UserSuspensionEmptyRoles400A permission revocation names no role, and does not withhold every role.Pick roles, or withhold all of them.
UserSuspensionRolesNotHeld400A permission revocation names roles the person does not hold.Pick roles the person holds.
UserSuspensionMustEndSessions400A full suspension has to end the person’s sessions.Turn on ending the sessions.
UserSuspensionNotActive409The suspension was already lifted or ran out.Nothing to do.

Delegation

CodeHTTPWhat it meansWhat to do
DelegationGrantNotFound404The grant does not exist, or belongs to a realm you do not administer.Reload the grants.
DelegationGrantEmptyScopes400The grant has no scopes, so it would allow nothing.Pick at least one scope.
DelegationGrantDepthOutOfRange400The depth is outside what Authio will chain.Pick a depth within the range the message names.
DelegationGrantExpiryInPast400The grant would lapse at a moment already past.Pick a future date.
DelegationGrantExpiryTooFar400The grant would lapse further ahead than Authio allows.Pick an earlier date.
DelegationSubjectNotFound404The person does not belong to the realm, or does not exist.Check the user ID.
DelegationSubjectNotInOrganization400The person is not a member of the organization the grant is limited to.Add them to the organization, or drop the limit.
DelegationClientNotFound404The application does not belong to the realm, or does not exist.Check the client ID.
DelegationScopesExceedClient400The grant asks for scopes the application may not request at all.Enable the scopes on the client, or remove them.
DelegationResourceNotAllowed400The grant names a resource the application may not reach, or that no resource server of the realm has.Pick a resource server the client may reach.
DelegationGrantAlreadyWithdrawn409The grant was already withdrawn.Nothing to do.
DelegationNotPermitted403No grant lets this application act for this person.Create a grant.
DelegationScopesExceedGrant403The exchange asks for more than the grant allows; a delegation may only narrow.Ask for fewer scopes.
DelegationResourceExceedsGrant403The exchange names a resource the grant does not reach.Ask for a resource the grant covers.
DelegationDepthExceeded403The chain was already passed on as many times as the grant allows.Raise the depth, or exchange closer to the source.
DelegationSubjectTokenRequired400The exchange carried no subject_token.Send the token to exchange.
DelegationSubjectTokenInactive400The token to exchange is expired, revoked, or was not issued here, or the person it names is suspended, has an account switched off or no longer has access to the client they signed in to.Send an active token. When the person is suspended, the account switched off or the link withdrawn, the access log has the refusal with the person.
DelegationSubjectTokenTypeUnsupported400The subject_token_type is not one Authio exchanges.Send an access token type.
DelegationRequestedTokenTypeUnsupported400The requested_token_type is not one Authio issues from an exchange.Ask for an access token.

Impersonation

CodeHTTPWhat it meansWhat to do
ImpersonationNotEnabled403The realm has not allowed impersonation.Allow it in the realm settings.
ImpersonationSubjectNotFound404The person does not belong to the realm, or does not exist.Check the user ID.
ImpersonationSubjectProtected403The person administers the platform and cannot be impersonated.Pick another person.
ImpersonationSubjectInactive403The person is not active.Activate the account first.
ImpersonationSubjectIsActor400You tried to impersonate yourself.Pick another person.
ImpersonationActorNotAPerson403Machine credentials cannot impersonate; only a signed-in person can.Do it from a signed-in session.
ImpersonationNotRecorded503The attempt could not be recorded, so no token was issued.Try again.
ImpersonationNotDeliverable409The realm delivers the token by redirect and the client has no redirect URI.Register a redirect URI on the client.

User export

CodeHTTPWhat it meansWhat to do
PasswordHashExportNotOwner403Only the account’s Owner, or the Authio platform operator, may export password hashes.Export without the hashes, or ask the Owner to export.
PasswordHashExportNotAPerson403An API key or another credential asked for the password hashes; only a signed-in person may.Export with the hashes from a signed-in session, or leave them out.
UserExportRealmNotAllowed403The realm is the platform’s own, whose people cannot be exported.Export one of your own realms.
UserExportInProgress409Another export of this account is still being written.Try again once it ends.
UserExportNotRecorded503The export could not be recorded in the change trail, so nothing was sent.Try again.

Connected accounts

CodeHTTPWhat it meansWhat to do
ConnectionProviderNotFound404The connection provider does not exist, or is not yours.Check the alias.
ConnectionProviderAlreadyExists409A connection provider with that alias already exists in the realm.Pick another alias.
ConnectionProviderAliasInvalid400The alias is not a lowercase slug of 2 to 64 characters.Use an alias such as github-app.
ConnectionProviderConfigurationInvalid400The provider configuration is incomplete or malformed: a missing endpoint, a non-https address, an unreadable path.Fix the fields named in notifications.
ConnectionProviderInactive400The provider is switched off.Turn it on.
ConnectionNotFound404The connected account does not exist, or belongs to another user.Reload the connections.
ConnectionSignInRequiredError pageConnecting an account needs a signed-in session in the realm, and there was none.Sign the user in, then start the connection.
ConnectionStateInvalid400The provider answered a connection Authio did not start, or one already completed.Start the connection again.
ConnectionUserMismatch403The session finishing the connection belongs to another user than the one who started it.Finish it with the same user.
ConnectionDenied400The user declined at the provider, or the provider refused.Start the connection again.
ConnectionExchangeFailed502The provider refused to exchange the code or refresh the token.Check the provider’s client ID and secret; reconnect.
ConnectionIdentityUnreadable502The provider’s answer did not say which account was connected.Check the provider’s user info settings.
ConnectionProviderUnavailable503The provider did not answer in time, or could not be reached.Retry later.
ConnectionReauthRequired400The connection can no longer be used.Ask the user to connect the account again.
ConnectionRequired400The user has no usable connection for the provider.Send the user to connect_uri.
ConnectionSelectionRequired400The user has several connections for the provider and none is the default.Pass the connection to use, or mark a default.
ConnectionTargetInvalid400The provider is unknown, inactive, or not allowed for the resource server.Allow the provider on the resource server.
ConnectionSubjectTokenInvalid400The subject token is not active, or is not for a resource server this client introspects for, or the person it names is suspended, has an account switched off or no longer has access to the client they signed in to.Send an active token issued for the resource server. When the person is suspended, the account switched off or the link withdrawn, the access log has the refusal with the person.
ConnectionClientUnauthorized400The client is not the introspection client of any active resource server of the realm.Set the client as the resource server’s introspection client.
ConnectionRequestInvalid400The exchange request is malformed: a missing or unsupported parameter.Read error_description and fix the request.
ConnectionContextNotAllowed403The organization asked for is not an active organization of the user’s realm.Pass an organization the user belongs to.
ConnectionPolicyRejected403The account does not meet the organization’s connected accounts policy.Connect an account the policy allows.
ConnectionPolicyUnverifiable403The policy names GitHub organizations, and the provider’s token cannot read their memberships.Add the read:org scope to the provider.
ConnectionPolicyViolation400The connection no longer meets its organization’s policy.Ask the user to connect an allowed account.
ConnectionPolicyNotFound404The policy does not exist, or belongs to another organization.Reload the policies.
ConnectionPolicyAlreadyExists409The organization already has a policy for that provider, or a general one.Edit the existing policy.
ConnectionPolicyInvalid400The policy is malformed: an invalid domain or organization login, too many entries, or a provider outside the realm.Fix the entries named in notifications.

SCIM provisioning

The Scim* codes that refuse a directory are written under the SCIM base URLs, in SCIM’s error schema, with the scimType in brackets; the connection codes come from the connections’ admin API. See SCIM provisioning.

CodeHTTPWhat it meansWhat to do
ScimInvalidFilter400The filter is not a single eq comparison on userName, externalId or emails.value (invalidFilter).Filter on one of those attributes, with eq.
ScimInvalidSyntax400The PATCH came without Operations, with an empty list or with an unknown op; no operation was applied (invalidSyntax).Send add, replace or remove operations.
ScimInvalidPath400A PATCH path does not read as a SCIM path (invalidPath).Fix the path.
ScimInvalidValue400userName is missing, or a value is too long, such as a subject over 128 characters, or of the wrong type (invalidValue).Fix the value.
ScimMutability400The PATCH tried to remove userName, or a connection of an organization tried to reactivate an account it did not create (mutability).Keep userName; reactivate the account from the console.
ScimResourceNotFound404The account does not exist, is out of the connection’s reach or was deprovisioned by it; or the resource does not exist, such as /Groups.Create the account with POST /Users; turn off group provisioning in the directory.
ScimUniqueness409The userName or the e-mail already belongs to another account, the externalId already belongs to another account of this connection, or the subject is already linked to another account at the provider (uniqueness).Check the person in the directory and the account in Authio.
ScimConnectionNotFound404No SCIM connection with that ID is in the realm.Reload the connections.
ScimConnectionRealmNotAllowed403The platform realm, the console’s own, accepts no SCIM connections.Create the connection in one of your realms.
ScimConnectionRevoked409The connection was revoked, so it can be neither edited nor have its token rotated.Create a new connection.
ScimConnectionNotRevoked409Only a revoked connection can be deleted.Revoke the connection before deleting it.
ScimConnectionIdentityProviderNotAllowed400A ValidationFailed notification on the identityProviderId field: the provider is not of the realm or, for a connection of an organization, is not offered to it.Pick a provider of the realm offered to the organization.
ScimConnectionClientNotAllowed400A ValidationFailed notification on the clientIds field: a client is not of the realm.Pick clients of the realm, by client ID.

Plan and billing

CodeHTTPWhat it meansWhat to do
RealmLimitExceeded, ClientLimitExceeded, UserLimitExceeded, ConsumerLimitExceeded, SecretLimitExceeded, ResourceServerLimitExceeded, ConnectionLimitExceeded400The plan’s quota for that resource is used up.Remove what you no longer use, or move to a larger plan.
ConnectionExchangeLimitExceeded400The connected account token exchanges the plan allows this month are used up.Wait for the next month, or move to a larger plan.
NoActiveSubscription400The account has no active subscription.Subscribe to a plan to create realms or clients.
SubscriptionNotFound403The account has no subscription.Subscribe to a plan.
SubscriptionAlreadyHeld409The account already has a subscription.Change the plan on it instead of buying again.
PlanNotFound404The plan does not exist.Pick a plan from the plan list.
CheckoutPriceUnavailable400The price is not one of the plans on sale.Reload the plans and pick again.
InvalidCheckoutTicket400The checkout link is missing, expired, or belongs to an account no longer waiting on its first purchase.Sign in and pick the plan again.
InvalidReactivationToken400The reactivation link is missing, expired, or belongs to an account that cannot be reactivated.Ask for a new link.
AccountNotEntitled403The subscription behind the application is not active, so sign-in and token issuance are paused.Renew the subscription.
IntegrationLicenseSuspended403The subscription is cancelled, unpaid or past due beyond its grace, so integrations are paused.Settle the payment.
McpIntegrationNotIncluded, ConnectedAccountsNotIncluded403The plan does not include MCP tokens or connected accounts.Move to a plan that includes them.
ScimProvisioningNotIncluded403The plan does not include SCIM provisioning, so creating a connection, rotating its token and every call from the directory are refused. On the SCIM endpoints, the refusal is written in SCIM’s error schema.Move to a plan that includes it; the connections work again.
AuthLayoutNotIncluded403Customizing the login screens, or the client’s own e-mail texts, is not included in the plan.Move to a plan that includes it.
SharedTenancyNotIncluded403The account is on the Dedicated plan, so realms and clients are not created on the shared platform.Create them in your environment’s own console.
AiRunLimitExceeded400The plan’s AI runs for the period are used up, or what is left does not cover a run on the Advanced model, which counts 3.Wait until the count starts again, use the Standard model, or move to a larger plan.
AdvancedModelNotIncluded403The plan does not include the advanced AI model, so neither the account nor the assistant’s conversations can ask for it.Use the Standard model, or move to a plan that includes the advanced model.
PlanFeatureUnknown, PlanFeatureInvalidValue, PlanFeatureDuplicated400Platform operators only: a plan feature is not in the catalog, carries a value of the wrong kind, or was given twice.Fix the feature list.
PlanBillingProviderUnavailable502Platform operators only: Stripe could not be reached or refused the change to the plan.Try again later.

AI advisor

CodeHTTPWhat it meansWhat to do
AiAdvisorNotIncludedInPlan403The AI advisor is not included in the plan.Move to a plan that includes it.
AiAdvisorNotEnabled409The advisor is not turned on for this realm or client.Turn it on for that realm or client.
AiAdvisorRequiresAccountOperator403Only a person signed in to the console can use the advisor; machine credentials such as API keys cannot.Call it from a signed-in session.
AiAdvisorNotConfigured503The advisor is not available on this deployment.On a Dedicated environment, set ANTHROPIC_API_KEY in Configuration.
AiAnalysisAlreadyRunning, AiConfigurationAlreadyRunning, AiAccessReviewAlreadyRunning, AiDashboardSummaryAlreadyRunning, AiChangeReviewAlreadyRunning, AiPushReviewAlreadyRunning, AiThreatReviewAlreadyRunning, AiAccessCertificationAlreadyRunning409The same reading is already being produced.Wait for it to finish before asking again.
AiAnalysisNotFound, AiConfigurationNotFound, AiAccessReviewNotFound, AiDashboardSummaryNotFound, AiChangeReviewNotFound, AiPushReviewNotFound, AiThreatReviewNotFound, AiThreatAnalysisNotFound, AiThreatActionNotFound, AiAccessCertificationNotFound, AiAccessCertificationItemNotFound, AiPortfolioReviewNotFound404The reading, proposal or item does not exist for the realm, client or account you asked about.Reload the list and pick it again.
AiConfigurationNotActionable409The proposal is not in a state that allows this: it carries no changes, was already applied, or was never applied.Reload the proposal.
AiConfigurationStale409The client changed after the proposal was made, so applying it would undo that change.Ask for a new proposal.
AiAccessReviewPeriodInvalid400The period must last at least one hour and at most 90 days, or the access log’s retention window if that is shorter, and end no later than now.Pick a period within those bounds.
AiChangeReviewPeriodInvalid, AiPushReviewPeriodInvalid, AiThreatReviewPeriodInvalid400The period is not one the advisor reads: it goes back more than 90 days or ends in the future.Pick a shorter period.
AiTokenShapeCarriesToken400The token shape sent for analysis carries the token itself.Send the token’s shape without the token.
AiThreatAnalysisNotRetryable409The attack analysis is not in a state that can be asked for again.Wait for the current analysis to finish.
AiThreatRecommendationNotApplicable409The recommendation of the attack analyst cannot be applied as it stands.Ask for a new analysis.
AiThreatActionAlreadyReverted409The applied recommendation was already undone.Nothing to do.
AiAppearanceNothingToDraftFrom400An appearance draft needs a website, a logo or a description to start from.Give at least one of them.
AiAppearanceSourceInvalid400The address to draft from is not a public http or https address.Use a public website address.
AiAccessCertificationNotSettled409The access certification is not finished, so nothing in it can be decided yet.Wait for it to finish.
AiAccessCertificationItemAlreadyDecided409The person’s access was already decided.Undo the decision first, if you need to change it.
AiAccessCertificationItemNotUndoable409That decision cannot be undone.Change the person’s access directly.
AiAccessCertificationDormancyInvalid400The number of days without a sign-in that marks access as idle must be between 30 and 365.Pick a value in that range.

Support

CodeHTTPWhat it meansWhat to do
SupportTicketNotFound404The ticket does not exist, or is not yours to see.Reload the tickets.
SupportTicketClosed409The ticket is closed and takes no reply or change.Open a new ticket.
SupportTicketStatusNotAllowed409Your side of the ticket may not move it to that status from where it stands.Pick a status your side may set.
SupportTicketActionNotAllowed403Your side of the ticket may not do that, such as writing an internal note or escalating.Ask the side that may.
SupportTicketSubjectNotFound400What the ticket is about does not exist, or is not yours to name.Pick the realm, client or record again.
SupportTicketAssigneeNotEligible400The person you handed the ticket to cannot answer it.Pick a member who answers tickets.
SupportTicketRequesterHasNoAccount403You belong to no account, and a ticket is opened on an account’s behalf.Join or create an account first.

Attack protection

CodeHTTPWhat it meansWhat to do
IncidentNotFound404No incident with that ID belongs to your account.Reload the incidents.
MitigationNotFound404No measure with that ID belongs to your account.Reload the measures.
SourceTrusted409The address you tried to block is trusted in the realm.Stop trusting it in Trusted addresses first, or block another address.
OwnSource409You tried to block, in the console’s own realm, the address you are using right now.Block it from another network, or leave it: blocking it would lock you out of the console.
TrustedSourceDuplicate409The realm already trusts this address or block, in some spelling.Keep the one you have, or remove it before adding it again.
TrustedSourceLimit409The realm already trusts as many addresses as it may (100).Remove one you no longer need, or trust a block that covers several.
TrustedSourceNotFound404No trusted address with that ID belongs to your account.Reload the trusted addresses.
ExposureNotFound404No exposed account with that ID is in a realm you administer.Reload the exposed accounts.
ReinforcementActive409The realm’s protection is already reinforced: a realm holds one reinforcement at a time.Wait for it to run out, or end it with End now, before reinforcing again.
ReinforcementNotFound404No reinforcement in force with that ID is in a realm you administer: it ran out, or was ended with End now.Reload Sensitivity.
SimulationInProgress409The realm already has a simulation waiting or running: one runs at a time per realm.Wait for it to finish and read its result.
SimulationNotFound404No simulation with that ID is in a realm you administer.Run Simulate again.

Client quarantine

CodeHTTPWhat it meansWhat to do
ClientQuarantined400The client is in quarantine, and the quarantine keeps this sign-in or token request out. Protocol endpoints answer it as unauthorized_client.Try again when the quarantine ends.
ClientQuarantineActive409The client already has a quarantine in force.Open the one in force, or end it before putting in another.
ClientQuarantineEnded409The quarantine no longer stands: it was ended or ran out.There is nothing left to end; reload the quarantine.
ClientQuarantineNotFound404No quarantine with that ID is in a realm you administer.Reload the quarantines.
ClientQuarantinePersonNotFound400A person the quarantine or the policy lets in is not a person of the client’s realm.Check the IDs in allowedUserIds.
ClientQuarantineGroupNotFound400A group the quarantine or the policy lets in is not an active group of the client.Check the IDs in allowedGroupIds.
AiQuarantineBriefingNotFound404The AI reading is not one of this quarantine’s.Reload the quarantine’s readings.
AiQuarantineBriefingNotRetryable409The quarantine’s AI reading did not fail, so there is nothing to ask for again.Read it as it is; only a reading that failed can be asked for again.

Webhooks

CodeHTTPWhat it meansWhat to do
CaptureSessionNotFound404No open capture session matches the address, or it expired.Open a new capture session.

Protocol bench

CodeHTTPWhat it meansWhat to do
WireBenchSessionNotFound404The saved session does not exist, or belongs to another person or client.Reload the sessions.
WireBenchSnapshotTooLarge400The session is larger than Authio keeps for one session.Save a smaller session.
WireBenchSessionLimitReached409You already keep as many sessions of this client as allowed.Delete a session first.

Dedicated environment

CodeHTTPWhat it meansWhat to do
DedicatedInstanceNotFound404The account has no environment yet, or it was deleted.It is prepared as soon as the subscription is confirmed.
DedicatedInstanceAlreadyExists409The account already has an environment.Use the existing environment.
DedicatedInstanceNotReady409The environment is not running, so it cannot be changed.Try again once it is ready.
DedicatedInstanceNotRetryable409The environment’s provisioning did not fail, so there is nothing to retry.Wait for it to finish.
DedicatedSubscriptionMissing409No live Dedicated subscription covers the account.Subscribe to the Dedicated plan.
DedicatedVariableNotEditable400The variable is managed by the platform.Change only the variables listed in Configuration.
DedicatedAdminCredentialUnavailable409The first administrator’s password was already shown and is no longer kept.Use password recovery on your environment’s sign-in page.
DedicatedDomainInvalid400The host names cannot be used: invalid, equal, not under the same domain, or under the platform’s domain.Use two host names of yours under one domain.
DedicatedDomainAlreadySet409The environment already has a domain of your own.Remove it before adding another.
DedicatedDomainNotReady409The domain’s certificates are not issued yet.Check the DNS records and try again in a few minutes.
DedicatedServiceNotRunning409The service has no running deployment.Redeploy it to start it.
DedicatedDeploymentNotFound404The deployment is not one of the environment’s recent deployments.Reload the services and pick it again.
DedicatedDeploymentNotCancellable409Only a deployment still being built or rolled out can be cancelled.Nothing to cancel; redeploy if needed.
DedicatedInstanceRemovalFailed502The hosting provider did not finish removing the environment.Remove it again; it picks up where it stopped.
DedicatedConfigurationNotWritten502The hosting provider did not write the environment’s configuration, so its services were not moved to the new version.Update it again to retry.

Next steps