# Frontend API errors

An index of Clerk Frontend API errors.

## Access policies

### <code><wbr />Access<wbr />Policies<wbr />Not<wbr />Enabled</code>

`AccessPoliciesNotEnabled` is returned by the access policy endpoints while the
instance still answers access decisions from the legacy tables.

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "access policies not enabled",
      "long_message": "Access policies are not enabled for this instance.",
      "code": "access_policies_not_enabled"
    }
  ]
}
```

## Actor tokens

### <code><wbr />Actor<wbr />Token<wbr />Already<wbr />Used</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "actor token has already been used",
      "long_message": "This actor token has already been used. Each token can only be used once.",
      "code": "actor_token_already_used_code"
    }
  ]
}
```

### <code><wbr />Actor<wbr />Token<wbr />Can<wbr />Be<wbr />Used<wbr />Only<wbr />In<wbr />Sign<wbr />In</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "not in sign in",
      "long_message": "Actor tokens can only be used during sign in.",
      "code": "actor_token_not_in_sign_in_code"
    }
  ]
}
```

### <code><wbr />Actor<wbr />Token<wbr />Cannot<wbr />Be<wbr />Used</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "actor token cannot be used",
      "long_message": "This actor token cannot be used anymore. Please request a new one.",
      "code": "actor_token_cannot_be_used_code"
    }
  ]
}
```

### <code><wbr />Actor<wbr />Token<wbr />Revoked</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "actor token has been revoked",
      "long_message": "This actor token has been revoked and cannot be used anymore.",
      "code": "actor_token_revoked_code"
    }
  ]
}
```

### <code><wbr />Actor<wbr />Token<wbr />Subject<wbr />Not<wbr />Found</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "user not found",
      "long_message": "The user of the actor token no longer exists. Please request a new one.",
      "code": "actor_token_subject_not_found"
    }
  ]
}
```

## Agent session

### <code><wbr />Agent<wbr />Session<wbr />Forbidden</code>

`AgentSessionForbidden` is returned when an agent task session (agt claim) tries an action that only a human may
take: a Dashboard mutation, a read that hands out write access elsewhere or bulk user data, or approving an OAuth
grant.

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Not allowed in an agent session",
      "long_message": "This action isn't available in an agent session.",
      "code": "agent_session_forbidden"
    }
  ]
}
```

### <code><wbr />Agent<wbr />Session<wbr />Needs<wbr />Fresh<wbr />Browser</code>

`AgentSessionNeedsFreshBrowser` is returned when a restricted agent task is redeemed in a browser that already holds a
session. It carries the same code as AgentSessionForbidden.

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Not allowed in an agent session",
      "long_message": "This browser already has a session. Open the agent task link in a fresh browser profile.",
      "code": "agent_session_forbidden"
    }
  ]
}
```

## Agent Tasks

### <code><wbr />Agent<wbr />Task<wbr />Already<wbr />Used</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "agent task has already been used",
      "long_message": "This agent task has already been used. Each task can only be used once.",
      "code": "agent_task_already_used"
    }
  ]
}
```

### <code><wbr />Agent<wbr />Task<wbr />Can<wbr />Be<wbr />Used<wbr />Only<wbr />In<wbr />Sign<wbr />In</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "not in sign in",
      "long_message": "Agent tasks can only be used during sign in.",
      "code": "agent_task_not_in_sign_in"
    }
  ]
}
```

### <code><wbr />Agent<wbr />Task<wbr />Cannot<wbr />Be<wbr />Used</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "agent task cannot be used",
      "long_message": "This agent task cannot be used anymore. Please request a new one.",
      "code": "agent_task_cannot_be_used"
    }
  ]
}
```

### <code><wbr />Agent<wbr />Task<wbr />Organization<wbr />Not<wbr />Allowed</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "organization not allowed",
      "long_message": "Agent task sessions are bound to a single workspace and cannot use another one.",
      "code": "agent_task_organization_not_allowed"
    }
  ]
}
```

### <code><wbr />Agent<wbr />Task<wbr />Revoked</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "agent task has been revoked",
      "long_message": "This agent task has been revoked and cannot be used anymore.",
      "code": "agent_task_revoked"
    }
  ]
}
```

### <code><wbr />Agent<wbr />Task<wbr />Subject<wbr />Not<wbr />Found</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "user not found",
      "long_message": "The user of the agent task no longer exists. Please request a new one.",
      "code": "agent_task_subject_not_found"
    }
  ]
}
```

## API keys

### <code><wbr />A<wbr />P<wbr />I<wbr />Keys<wbr />Not<wbr />Enabled</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "API Keys not enabled",
      "long_message": "API Keys not enabled",
      "code": "api_keys_not_enabled"
    }
  ]
}
```

## Applications

### <code><wbr />Management<wbr />Token<wbr />Subject<wbr />Not<wbr />Found</code>

`ManagementTokenSubjectNotFound` is returned when redeeming a management
token whose referenced user no longer exists in the instance.

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "user not found",
      "long_message": "The user referenced by this management token no longer exists. Mint a new token.",
      "code": "management_token_subject_not_found"
    }
  ]
}
```

## Auth

### <code><wbr />Dev<wbr />Browser<wbr />Unauthenticated</code>

`DevBrowserUnauthenticated` signifies an error when the dev browser is not authenticated

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "Browser unauthenticated",
      "long_message": "Unable to authenticate this browser for your development instance. Check your Clerk cookies and try again. If the issue persists reach out to support@clerk.com.",
      "code": "dev_browser_unauthenticated"
    }
  ]
}
```

### <code><wbr />Identification<wbr />Exists</code>

`IdentificationExists` is returned when the identifier already exists. The code
depends on the identifier type: email\_address\_exists, phone\_number\_exists,
username\_exists, or external\_account\_exists.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "already exists",
      "long_message": "This <identifier> already exists.",
      "code": "<code>"
    }
  ]
}
```

### <code><wbr />Identifier<wbr />Contains<wbr />Subaddresses</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Email subaddress not allowed.",
      "long_message": "Email address must not contain the characters '+', '=', or '#'.",
      "code": "not_allowed_access",
      "meta": {
        "param_name": "email_address"
      }
    }
  ]
}
```

### <code><wbr />Identifier<wbr />From<wbr />Blocked<wbr />Country<wbr />Code</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Country code not allowed.",
      "long_message": "Phone number sign ups are not allowed for this country code. Please use a different method.",
      "code": "not_allowed_access",
      "meta": {
        "param_name": "phone_number"
      }
    }
  ]
}
```

### <code><wbr />Identifier<wbr />Not<wbr />Allowed<wbr />Access</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Access not allowed.",
      "long_message": "<who> <pluralization> not allowed to access this application.",
      "code": "not_allowed_access",
      "meta": {
        "identifiers": [
          "<identifiers>"
        ]
      }
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Authentication</code>

`InvalidAuthentication` signifies an error when the request is not authenticated

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "Invalid authentication",
      "long_message": "Unable to authenticate the request, you need to supply an active session",
      "code": "authentication_invalid"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Authorization</code>

`InvalidAuthorization` signifies an error when the request is not authorized to perform the given operation

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Unauthorized request",
      "long_message": "You are not authorized to perform this request",
      "code": "authorization_invalid"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Authorization<wbr />Header<wbr />Format</code>

`InvalidAuthorizationHeaderFormat` signifies an error when the Authorization header has no proper format.

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "Invalid Authorization header format",
      "long_message": "Invalid Authorization header format. Must be 'Bearer <YOUR_API_KEY>'",
      "code": "authorization_header_format_invalid"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />C<wbr />S<wbr />R<wbr />F<wbr />Token</code>

`InvalidCSRFToken` signifies an error when the request does not contain a CSRF token or the given token is invalid

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Invalid or missing CSRF token",
      "long_message": "To protect against CSRF attacks, the given request must include a valid CSRF token.",
      "code": "csrf_token_invalid"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Handshake</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "invalid handshake",
      "long_message": "The handshake request is invalid: <reason>",
      "code": "invalid_handshake"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Host</code>

`InvalidHost` signifies an error when the incoming request has an invalid host

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Invalid host",
      "long_message": "We were unable to attribute this request to an instance running on Clerk. Make sure that your Clerk Publishable Key is correct.",
      "code": "host_invalid"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Origin<wbr />Header</code>

`InvalidOriginHeader` signifies an error when the origin header of the incoming request is invalid

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Invalid HTTP Origin header",
      "long_message": "The Request HTTP Origin header must be equal to or a subdomain of the requesting URL.",
      "code": "origin_invalid"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Request<wbr />For<wbr />Environment</code>

`InvalidRequestForEnvironment` signifies an error when the incoming request is invalid for given environment(s)

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Invalid request for environment",
      "long_message": "Request only valid for <envTypes> instances.",
      "code": "request_invalid_for_environment"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />User<wbr />Settings</code>

`InvalidUserSettings` signifies an error where the auth settings of the instance
are not well configured, which results in sign in and sign up endpoints to be
restricted.

filename: Status Code: 409
```json
{
  "errors": [
    {
      "message": "invalid auth configuration",
      "long_message": "The authentication settings are invalid.",
      "code": "user_settings_invalid"
    }
  ]
}
```

### <code><wbr />Multiple<wbr />Authorization<wbr />Header<wbr />Values</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Multiple 'Authorization' header values",
      "long_message": "Setting multiple values in the 'Authorization' header is forbidden",
      "code": "multiple_authorization_header_values_forbidden"
    }
  ]
}
```

### <code><wbr />Multiple<wbr />Origin<wbr />Header<wbr />Values</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Multiple 'Origin' header values",
      "long_message": "Setting multiple values in the 'Origin' header is forbidden",
      "code": "multiple_origin_header_values_forbidden"
    }
  ]
}
```

### <code><wbr />Native<wbr />A<wbr />P<wbr />I<wbr />Disabled</code>

`NativeAPIDisabled` signifies an error when the incoming request is from a native client (`\_is\_native={1|true}`)
and the instance is not configured to allow native API requests.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Native API disabled",
      "long_message": "The Native API is disabled for this instance. Visit the Clerk Dashboard to enable it.",
      "code": "native_api_disabled"
    }
  ]
}
```

### <code><wbr />Origin<wbr />And<wbr />Authorization<wbr />Mutually<wbr />Exclusive</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Setting both the 'Origin' and 'Authorization' headers is forbidden",
      "long_message": "For security purposes, only one of the 'Origin' and 'Authorization' headers should be provided, but not both. In browser contexts, the 'Origin' header is set automatically by the browser. In native application contexts (e.g. mobile apps), set the 'Authorization' header.",
      "code": "origin_authorization_headers_conflict"
    }
  ]
}
```

### <code><wbr />Rate<wbr />Limited<wbr />Country</code>

`RateLimitedCountry` is returned when Clerk has temporarily disabled SMS to the
phone number's country.

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Rate limited country code",
      "long_message": "SMS to the country <countryName> is temporarily disabled. Please try again later.",
      "code": "unsupported_country_code",
      "meta": {
        "alpha2": "<alpha2>",
        "country_code": "<countryCode>"
      }
    }
  ]
}
```

### <code><wbr />Signed<wbr />Out</code>

`SignedOut` signifies an error when a user is signed out

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "Signed out",
      "long_message": "You are signed out",
      "code": "signed_out"
    }
  ]
}
```

### <code><wbr />Subaddress<wbr />Restriction<wbr />Email<wbr />Already<wbr />Used</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "This email address is already in use.",
      "long_message": "This email address is already in use. Creating multiple accounts with the same email address is not allowed.",
      "code": "not_allowed_access"
    }
  ]
}
```

### <code><wbr />Subdomain<wbr />Not<wbr />Allowed</code>

`SubdomainNotAllowed` signifies an error when the subdomain is not in the allowlist

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Subdomain not allowed",
      "long_message": "The request origin subdomain is not in the allowed subdomains list. Please add it to your subdomain allowlist in the Dashboard.",
      "code": "subdomain_not_allowed"
    }
  ]
}
```

### <code><wbr />Unsupported<wbr />App<wbr />Version</code>

`UnsupportedAppVersion` rejects a native app older than its instance's minimum
version. The meta tells the SDK where to send the user to update.

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Unsupported app version",
      "long_message": "This version of the app is no longer supported. Update the app to continue.",
      "code": "unsupported_app_version",
      "meta": {
        "platform": "<platform>",
        "app_identifier": "<appIdentifier>",
        "current_version": "<currentVersion>",
        "minimum_version": "<minimumVersion>",
        "update_url": "<updateURL>"
      }
    }
  ]
}
```

### <code><wbr />Unsupported<wbr />Country</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Unsupported country code",
      "long_message": "Phone numbers from this country (<countryName>) are currently not supported. For more information, please contact <support>.",
      "code": "unsupported_country_code",
      "meta": {
        "alpha2": "<alpha2>",
        "country_code": "<countryCode>"
      }
    }
  ]
}
```

### <code><wbr />U<wbr />R<wbr />L<wbr />Based<wbr />Session<wbr />Syncing<wbr />Disabled</code>

`URLBasedSessionSyncingDisabled` signifies an error when the incoming request attempts
to use an endpoint with URL-based session syncing, when the instance operates with
third-party cookies instead.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "URL-based session syncing is disabled for this instance",
      "long_message": "This is a development instance operating with legacy, third-party cookies. This feature is deprecated, please contact support if you need assistance.",
      "code": "url_based_session_syncing_disabled"
    }
  ]
}
```

## AWS Cognito

### <code><wbr />Aws<wbr />Cognito<wbr />Admin<wbr />User<wbr />Password<wbr />Auth<wbr />Not<wbr />Enabled</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "ADMIN_USER_PASSWORD_AUTH flow not enabled for this AWS Cognito client.",
      "long_message": "ADMIN_USER_PASSWORD_AUTH flow not enabled for this AWS Cognito client. Ensure that your Cognito user pool has a public client with the ALLOW_ADMIN_USER_PASSWORD_AUTH auth flow enabled.",
      "code": "aws_cognito_admin_user_password_auth_not_enabled"
    }
  ]
}
```

### <code><wbr />Aws<wbr />Cognito<wbr />User<wbr />Lambda<wbr />Validation<wbr />Failed</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "AWS Cognito user validation failed.",
      "long_message": "The sign-in attempt was rejected by the AWS Cognito user validation Lambda trigger.",
      "code": "aws_cognito_user_lambda_validation_failed"
    }
  ]
}
```

### <code><wbr />Aws<wbr />Cognito<wbr />User<wbr />Password<wbr />Auth<wbr />Not<wbr />Enabled</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "USER_PASSWORD_AUTH flow not enabled for this AWS Cognito client.",
      "long_message": "USER_PASSWORD_AUTH flow not enabled for this AWS Cognito client. Ensure that your Cognito user pool has a public client with the ALLOW_USER_PASSWORD_AUTH auth flow enabled.",
      "code": "aws_cognito_user_password_auth_not_enabled"
    }
  ]
}
```

## Backup codes

### <code><wbr />Backup<wbr />Codes<wbr />Not<wbr />Available</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Backup codes not available",
      "long_message": "In order to use backup codes, you have to enable any other Multi-factor method",
      "code": "backup_codes_not_available"
    }
  ]
}
```

## Clients

### <code><wbr />Client<wbr />Not<wbr />Found</code>

`ClientNotFound` signifies an error when no client is found with the given ID

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "Client not found",
      "long_message": "No client was found with id <clientID>",
      "code": "resource_not_found"
    }
  ]
}
```

### <code><wbr />Client<wbr />Not<wbr />Found<wbr />In<wbr />Request</code>

`ClientNotFoundInRequest` signifies an error when no client is found in an incoming request

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "No client found",
      "long_message": "This request is expecting a client and did not find one",
      "code": "client_not_found"
    }
  ]
}
```

## Commerce

### <code><wbr />Annual<wbr />Plan<wbr />Period<wbr />Not<wbr />Supported</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Annual plan period not supported",
      "long_message": "Annual plan period not supported",
      "code": "annual_plan_period_not_supported"
    }
  ]
}
```

### <code><wbr />Billing<wbr />Not<wbr />Enabled</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "access denied",
      "long_message": "The billing feature is not enabled for this instance. You can enable it at https://dashboard.clerk.com.",
      "code": "billing_not_enabled"
    }
  ]
}
```

### <code><wbr />Billing<wbr />Not<wbr />Enabled<wbr />For<wbr />Org</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "access denied",
      "long_message": "The billing feature for organizations is not enabled for this instance. You can enable it at https://dashboard.clerk.com.",
      "code": "billing_not_enabled"
    }
  ]
}
```

### <code><wbr />Billing<wbr />Not<wbr />Enabled<wbr />For<wbr />User</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "access denied",
      "long_message": "The billing feature for users is not enabled for this instance. You can enable it at https://dashboard.clerk.com.",
      "code": "billing_not_enabled"
    }
  ]
}
```

### <code><wbr />Billing<wbr />Plan<wbr />Is<wbr />Hidden</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Plan is not Publicly available",
      "long_message": "Plan is not Publicly available, and should not be used in checkout",
      "code": "billing_plan_is_hidden"
    }
  ]
}
```

### <code><wbr />Checkout<wbr />Already<wbr />Complete</code>

filename: Status Code: 409
```json
{
  "errors": [
    {
      "message": "Checkout already complete",
      "long_message": "Checkout already complete",
      "code": "checkout_already_complete"
    }
  ]
}
```

### <code><wbr />Checkout<wbr />Already<wbr />In<wbr />Progress</code>

filename: Status Code: 409
```json
{
  "errors": [
    {
      "message": "Another checkout is already in progress",
      "long_message": "Another checkout is already in progress",
      "code": "checkout_already_in_progress"
    }
  ]
}
```

### <code><wbr />Checkout<wbr />Not<wbr />Found</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "Checkout not found",
      "long_message": "Checkout not found",
      "code": "checkout_not_found"
    }
  ]
}
```

### <code><wbr />Commerce<wbr />Insufficient<wbr />Seats</code>

filename: Status Code: 402
```json
{
  "errors": [
    {
      "message": "Insufficient seats",
      "long_message": "You have reached the seat limit for your current plan.",
      "code": "insufficient_seats",
      "meta": {
        "seats_quantity_to_add": 0,
        "seats_quantity": 0
      }
    }
  ]
}
```

### <code><wbr />Commerce<wbr />Statement<wbr />Not<wbr />Found</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "Statement not found",
      "long_message": "No statement found with id <statementID>.",
      "code": "commerce_statement_not_found"
    }
  ]
}
```

### <code><wbr />Commerce<wbr />Subscription<wbr />Item<wbr />Already<wbr />Canceled</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Subscription item already canceled",
      "long_message": "You can't cancel a subscription item that is already canceled",
      "code": "commerce_subscription_item_already_canceled"
    }
  ]
}
```

### <code><wbr />Commerce<wbr />Subscription<wbr />Item<wbr />Cannot<wbr />Be<wbr />Canceled</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Subscription item cannot be canceled",
      "long_message": "Subscription item cannot be canceled because <reason>",
      "code": "commerce_subscription_item_cannot_be_canceled"
    }
  ]
}
```

### <code><wbr />Commerce<wbr />Subscription<wbr />Item<wbr />Cannot<wbr />Be<wbr />Ended</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Subscription item cannot be ended",
      "long_message": "Subscription item cannot be ended because <reason>",
      "code": "commerce_subscription_item_cannot_be_ended"
    }
  ]
}
```

### <code><wbr />External<wbr />Payments<wbr />Not<wbr />Setup</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "External payments not setup",
      "long_message": "External payments not setup",
      "code": "external_payments_not_setup"
    }
  ]
}
```

### <code><wbr />Free<wbr />Trial<wbr />Already<wbr />Active</code>

`FreeTrialAlreadyActive` is returned when a payer checks out for the plan and
period they're already trialing. Adding seats to the active trial is still allowed.

filename: Status Code: 409
```json
{
  "errors": [
    {
      "message": "Free trial already active",
      "long_message": "You already have an active free trial for this plan.",
      "code": "free_trial_already_active",
      "meta": {
        "period_end": 0
      }
    }
  ]
}
```

### <code><wbr />Free<wbr />Trial<wbr />Already<wbr />Claimed</code>

`FreeTrialAlreadyClaimed` is returned when confirming a checkout after another
account with the same email address claimed the trial. Creating a checkout
never returns it; an ineligible payer gets a paid checkout instead.

filename: Status Code: 409
```json
{
  "errors": [
    {
      "message": "Free trial already claimed",
      "long_message": "A free trial has already been used with this email address.",
      "code": "free_trial_already_claimed"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Gateway<wbr />Type</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Invalid gateway type",
      "long_message": "Gateway type is invalid",
      "code": "invalid_gateway_type"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Plan<wbr />Change</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Invalid plan change",
      "long_message": "Please choose a different plan or billing interval, or contact support.",
      "code": "invalid_plan_change",
      "meta": {
        "plan": {
          "id": "<planID>",
          "name": "<planName>",
          "currency_symbol": "<currencySymbol>",
          "amount_formatted": "<amountFormatted>",
          "annual_monthly_amount_formatted": "<annualMonthlyAmountFormatted>"
        },
        "period": "<period>",
        "is_plan_upgrade_possible": false
      }
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Plan<wbr />Type</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Invalid plan type",
      "long_message": "Plan type (<planType>) is invalid",
      "code": "invalid_plan_type"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Use<wbr />Of<wbr />Test<wbr />Card</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Invalid use of test card",
      "long_message": "Test card cannot be used in production environment.",
      "code": "invalid_use_of_test_card"
    }
  ]
}
```

### <code><wbr />Max<wbr />Payment<wbr />Sources<wbr />Quota<wbr />Exceeded</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Max payment methods quota exceeded",
      "long_message": "You have reached your limit of <maxAllowed> payment methods. Please delete a payment source to add a new one.",
      "code": "max_payment_methods_quota_exceeded"
    }
  ]
}
```

### <code><wbr />Missing<wbr />Payer<wbr />Email</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Missing payer email",
      "long_message": "Payer email is required to perform this operation",
      "code": "missing_payer_email"
    }
  ]
}
```

### <code><wbr />Missing<wbr />Plan<wbr />I<wbr />D</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Missing plan ID",
      "long_message": "Plan ID is required to perform this operation",
      "code": "missing_plan_id"
    }
  ]
}
```

### <code><wbr />Monthly<wbr />Plan<wbr />Period<wbr />Not<wbr />Supported</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Monthly plan period not supported",
      "long_message": "Monthly plan period not supported",
      "code": "monthly_plan_period_not_supported"
    }
  ]
}
```

### <code><wbr />Org<wbr />Member<wbr />Limit<wbr />Exceeded<wbr />For<wbr />Plan<wbr />Change</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Organization member limit exceeded",
      "long_message": "Plan change is not allowed because the organization's <occupiedSeatsStr> occupied seats exceed the limit of <maxAllowedStr> organization memberships.",
      "code": "org_member_limit_exceeded_for_plan_change"
    }
  ]
}
```

### <code><wbr />Payee<wbr />Not<wbr />Active</code>

filename: Status Code: 409
```json
{
  "errors": [
    {
      "message": "Payee not active",
      "long_message": "Payee is not active",
      "code": "payee_not_active"
    }
  ]
}
```

### <code><wbr />Payee<wbr />Not<wbr />Found</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "Payee not found",
      "long_message": "Payee not found",
      "code": "payee_not_found"
    }
  ]
}
```

### <code><wbr />Payer<wbr />Not<wbr />Found</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "Payer not found",
      "long_message": "Payer not found",
      "code": "payer_not_found"
    }
  ]
}
```

### <code><wbr />Payment<wbr />Attempt<wbr />Failed<wbr />Requires<wbr />Confirmation</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Requires confirmation",
      "long_message": "The payment attempt failed because it requires additional confirmation, which is not currently supported. Please use a different payment method.",
      "code": "payment_attempt_failed_requires_confirmation"
    }
  ]
}
```

### <code><wbr />Payment<wbr />Declined</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Your card was declined",
      "long_message": "The card was declined.",
      "code": "payment_attempt_failed_card_declined"
    }
  ]
}
```

### <code><wbr />Payment<wbr />Expired<wbr />Card</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Card expired",
      "long_message": "The card has expired.",
      "code": "payment_attempt_failed_card_expired"
    }
  ]
}
```

### <code><wbr />Payment<wbr />Insufficient<wbr />Funds</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Insufficient funds",
      "long_message": "The card has insufficient funds.",
      "code": "payment_attempt_failed_card_insufficient_funds"
    }
  ]
}
```

### <code><wbr />Payment<wbr />Processing<wbr />Error</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Processing error",
      "long_message": "There was a processing error with the payment method.",
      "code": "payment_attempt_failed_processing_error"
    }
  ]
}
```

### <code><wbr />Payment<wbr />Source<wbr />Expired</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Payment method is expired",
      "long_message": "Payment method is expired",
      "code": "payment_source_expired"
    }
  ]
}
```

### <code><wbr />Payment<wbr />Source<wbr />In<wbr />Use</code>

filename: Status Code: 409
```json
{
  "errors": [
    {
      "message": "Payment source in use",
      "long_message": "Payment source is in use, as you have active subscriptions. Please cancel those subscriptions before deleting the payment source.",
      "code": "payment_source_in_use"
    }
  ]
}
```

### <code><wbr />Payment<wbr />Source<wbr />Not<wbr />Found</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "Payment source not found",
      "long_message": "Payment source not found",
      "code": "payment_source_not_found"
    }
  ]
}
```

### <code><wbr />Plan<wbr />Already<wbr />Active</code>

filename: Status Code: 409
```json
{
  "errors": [
    {
      "message": "Plan already active",
      "long_message": "This plan is already active for plan period: <planPeriod><seatQuantityMsg>.",
      "code": "plan_already_active"
    }
  ]
}
```

### <code><wbr />Plan<wbr />Cannot<wbr />Have<wbr />Seats</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Plan cannot have seats",
      "long_message": "The selected plan is not seat-based, but the checkout request included a seat_quantity.",
      "code": "plan_cannot_have_seats"
    }
  ]
}
```

### <code><wbr />Plan<wbr />Not<wbr />Found</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "Plan not found",
      "long_message": "Plan not found",
      "code": "plan_not_found"
    }
  ]
}
```

### <code><wbr />Plan<wbr />Seat<wbr />Limit<wbr />Exceeded</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Plan seat limit exceeded",
      "long_message": "Your organization has <currentMembersStr> members, but the requested plan would only support <seatLimitStr> members. Please remove members before switching to this plan.",
      "code": "plan_seat_limit_exceeded",
      "meta": {
        "plan_seat_limit": 0,
        "current_members": 0
      }
    }
  ]
}
```

### <code><wbr />Price<wbr />I<wbr />D<wbr />Invalid<wbr />For<wbr />Checkout</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Invalid price_id for checkout",
      "long_message": "You cannot checkout with that price.",
      "code": "price_id_invalid_for_checkout"
    }
  ]
}
```

### <code><wbr />Requested<wbr />Seats<wbr />Insufficient</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Requested seats insufficient",
      "long_message": "Your organization has <currentMembersStr> members but this checkout only grants <grantedSeatsStr> seats. Please request at least <currentMembersStr> seats or remove members.",
      "code": "requested_seats_insufficient",
      "meta": {
        "plan_seat_limit": 0,
        "current_members": 0
      }
    }
  ]
}
```

### <code><wbr />Seat<wbr />Based<wbr />Billing<wbr />Exceeds<wbr />Org<wbr />Member<wbr />Limit</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Seat-based billing exceeds plan's organization member limit",
      "long_message": "The seat-based plan you are trying to create exceeds your Clerk plan's organization member limit. Adjust your seat limits to match your plan's limit or upgrade your subscription.",
      "code": "seat_based_billing_exceeds_org_member_limit"
    }
  ]
}
```

### <code><wbr />Seat<wbr />Reduction<wbr />In<wbr />Checkout<wbr />Not<wbr />Supported</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Seat reduction not supported in checkout",
      "long_message": "Seats cannot be reduced through checkout.",
      "code": "seat_reduction_in_checkout_not_supported"
    }
  ]
}
```

### <code><wbr />Subscription<wbr />Already<wbr />Ended</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Subscription already ended",
      "long_message": "Subscription is already ended",
      "code": "subscription_already_ended"
    }
  ]
}
```

### <code><wbr />Subscription<wbr />Item<wbr />Not<wbr />Found</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "Subscription item not found",
      "long_message": "Subscription item not found",
      "code": "subscription_item_not_found"
    }
  ]
}
```

## Discounts

### <code><wbr />Discount<wbr />Inactive</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Discount inactive",
      "long_message": "This discount is not currently active",
      "code": "discount_inactive"
    }
  ]
}
```

### <code><wbr />Discount<wbr />Not<wbr />Applicable</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Discount not applicable",
      "long_message": "This discount cannot be applied to this checkout",
      "code": "discount_not_applicable"
    }
  ]
}
```

### <code><wbr />Discount<wbr />Not<wbr />Found</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "Discount not found",
      "long_message": "The discount was not found",
      "code": "discount_not_found"
    }
  ]
}
```

## Domains

### <code><wbr />Feature<wbr />Requires<wbr />Custom<wbr />Domain</code>

`FeatureRequiresCustomDomain` signifies an error when a feature is blocked
because the instance only has a provider domain (e.g. vercel.app).

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "custom domain required",
      "long_message": "<feature> requires a custom domain. Add a custom domain to unlock this feature.",
      "code": "feature_requires_custom_domain"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Proxy<wbr />Configuration</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "<msg>",
      "long_message": "Clerk Frontend API cannot be accessed through the proxy URL. Make sure your proxy is configured correctly.",
      "code": "invalid_proxy_configuration",
      "meta": {
        "param_name": "proxy_url"
      }
    }
  ]
}
```

### <code><wbr />Operation<wbr />Not<wbr />Allowed<wbr />On<wbr />Satellite<wbr />Domain</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "operation not allowed",
      "long_message": "This operation is not allowed on a satellite domain. Try again using the primary domain of your instance.",
      "code": "operation_not_allowed_on_satellite_domain"
    }
  ]
}
```

### <code><wbr />Sync<wbr />Nonce<wbr />Already<wbr />Consumed</code>

`SyncNonceAlreadyConsumed` signifies an error when the nonce that was given
during the sync flow is already consumed.

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "sync nonce already consumed",
      "long_message": "The given sync nonce has already been consumed and cannot be re-used.",
      "code": "sync_nonce_already_consumed"
    }
  ]
}
```

## Email

### <code><wbr />Dev<wbr />Daily<wbr />Email<wbr />Recipient<wbr />Limit<wbr />Exceeded</code>

`DevDailyEmailRecipientLimitExceeded` signifies that the workspace owning the
development instance has already emailed its daily limit of distinct
recipients across all of its development instances. The limit resets at
midnight UTC.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Development daily email recipient limit exceeded",
      "long_message": "This workspace has reached its daily limit of <limit> email recipients from development instances. The limit resets at midnight UTC. Until then, you can still email workspace members and anyone you've already emailed today. To remove the limit, upgrade to a paid plan or contact support.",
      "code": "dev_daily_email_recipient_limit_exceeded",
      "meta": {
        "dev_daily_email_recipient_limit": 0
      }
    }
  ]
}
```

### <code><wbr />Dev<wbr />Email<wbr />Provider<wbr />Blocked</code>

`DevEmailProviderBlocked` signifies that the provider blocks Clerk email delivery
from development instances.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "<provider> email delivery unavailable",
      "long_message": "<provider> blocks Clerk emails from development instances. Please try another email address.",
      "code": "dev_email_provider_blocked"
    }
  ]
}
```

### <code><wbr />Dev<wbr />Monthly<wbr />Email<wbr />Limit<wbr />Exceeded</code>

`DevMonthlyEmailLimitExceeded` signifies an error when an email sending attempt is made while the development limit has already been reached

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Development monthly email limit exceeded",
      "long_message": "The monthly limit for email messages in development (<limit>) has been reached. Please use test emails (https://go.clerk.com/test-emails) instead",
      "code": "dev_monthly_email_limit_exceeded",
      "meta": {
        "dev_monthly_email_limit": 0
      }
    }
  ]
}
```

## Enterprise SSO

### <code><wbr />Enterprise<wbr />Connection<wbr />I<wbr />D<wbr />Is<wbr />Required<wbr />With<wbr />Multiple<wbr />Connections</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Enterprise Connection ID is required with multiple connections",
      "long_message": "The Enterprise Connection ID is required with multiple connections.",
      "code": "enterprise_connection_id_is_required_with_multiple_connections"
    }
  ]
}
```

### <code><wbr />Enterprise<wbr />Connection<wbr />Invalid<wbr />Type</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Invalid enterprise connection type",
      "long_message": "The enterprise connection type is not supported.",
      "code": "enterprise_connection_invalid_type"
    }
  ]
}
```

### <code><wbr />Enterprise<wbr />Connection<wbr />Name<wbr />Not<wbr />Derivable</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Connection name is required",
      "long_message": "A connection name could not be derived by default. Please provide a name for the enterprise connection.",
      "code": "enterprise_connection_name_not_derivable",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Enterprise<wbr />S<wbr />S<wbr />O<wbr />Account<wbr />Already<wbr />Connected</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Already connected",
      "long_message": "An enterprise account is already connected for this connection.",
      "code": "enterprise_sso_account_already_connected"
    }
  ]
}
```

### <code><wbr />Enterprise<wbr />S<wbr />S<wbr />O<wbr />Account<wbr />Already<wbr />Connected<wbr />With<wbr />Email</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Already connected",
      "long_message": "An enterprise account is already connected for this connection email: <email>",
      "code": "enterprise_sso_account_already_connected"
    }
  ]
}
```

### <code><wbr />Enterprise<wbr />S<wbr />S<wbr />O<wbr />Additional<wbr />Identifications<wbr />Disabled</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Identifications creation disabled by your enterprise account",
      "long_message": "You cannot create identifications because your enterprise account does not allow it.",
      "code": "enterprise_sso_additional_identifications_disabled"
    }
  ]
}
```

### <code><wbr />Enterprise<wbr />S<wbr />S<wbr />O<wbr />Email<wbr />Address<wbr />Domain<wbr />Mismatch</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Enterprise Connection email address domain mismatch",
      "long_message": "The email address returned by the provider <received> does not match the domain of the enterprise connection <expected> that initiated the authentication.",
      "code": "enterprise_sso_email_address_domain_mismatch",
      "meta": {
        "expected_domain": "<expected>",
        "received_domain": "<received>"
      }
    }
  ]
}
```

### <code><wbr />Enterprise<wbr />S<wbr />S<wbr />O<wbr />Hosted<wbr />Domain<wbr />Mismatch</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Hosted domain mismatch",
      "long_message": "The Enterprise Connection domain does not match the user's hosted domain from the OAuth provider.",
      "code": "enterprise_sso_hosted_domain_mismatch"
    }
  ]
}
```

### <code><wbr />Enterprise<wbr />S<wbr />S<wbr />O<wbr />J<wbr />I<wbr />T<wbr />Provisioning<wbr />Disabled</code>

`EnterpriseSSOJITProvisioningDisabled` signals that an Enterprise SSO user
could not be signed in or signed up because JIT provisioning is disabled for
the connection and no matching user exists. The blocked email address is
surfaced in the meta so it shows up in the dashboard debug logs.

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "JIT provisioning disabled",
      "long_message": "Just-in-time provisioning is disabled for this Enterprise SSO connection and no matching user exists for the provided email address.",
      "code": "enterprise_sso_jit_provisioning_disabled",
      "meta": {
        "email_address": "<emailAddress>"
      }
    }
  ]
}
```

### <code><wbr />Enterprise<wbr />S<wbr />S<wbr />O<wbr />Sign<wbr />In<wbr />Connection<wbr />Missing</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "No Enterprise Connection for this sign-in",
      "long_message": "The current sign-in does not have a corresponding Enterprise Connection. Please check the domain of the provided email address.",
      "code": "enterprise_sso_sign_in_connection_missing"
    }
  ]
}
```

### <code><wbr />Enterprise<wbr />S<wbr />S<wbr />O<wbr />Sign<wbr />Up<wbr />Connection<wbr />Missing</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "No Enterprise Connection for this sign-up",
      "long_message": "The current sign-up does not have a corresponding Enterprise Connection. Please check the domain of the provided email address.",
      "code": "enterprise_sso_sign_up_connection_missing"
    }
  ]
}
```

### <code><wbr />Enterprise<wbr />S<wbr />S<wbr />O<wbr />User<wbr />Attribute<wbr />Missing</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Enterprise Connection email address missing",
      "long_message": "The Enterprise Connection did not return the required '<attrName>' attribute. Contact the IdP administrator to ensure it is included in the identity response.",
      "code": "enterprise_sso_user_attribute_missing",
      "meta": {
        "missing_attribute": "<attrName>"
      }
    }
  ]
}
```

### <code><wbr />Enterprise<wbr />S<wbr />S<wbr />O<wbr />Verification<wbr />Connection<wbr />Missing</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "No Enterprise Connection for this verification",
      "long_message": "The current verification does not have a corresponding Enterprise Connection. Please check the domain of the provided email address.",
      "code": "enterprise_sso_verification_connection_missing"
    }
  ]
}
```

### <code><wbr />Self<wbr />Serve<wbr />Directory<wbr />Sync<wbr />Organization<wbr />Disabled</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "self-serve directory sync not enabled for organization",
      "long_message": "Self-serve Directory Sync is not enabled for this organization.",
      "code": "self_serve_directory_sync_organization_disabled"
    }
  ]
}
```

### <code><wbr />Self<wbr />Serve<wbr />S<wbr />S<wbr />O<wbr />Disabled</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "self-serve SSO not enabled",
      "long_message": "The self-serve SSO feature is not enabled for this instance.",
      "code": "self_serve_sso_disabled"
    }
  ]
}
```

### <code><wbr />Self<wbr />Serve<wbr />S<wbr />S<wbr />O<wbr />No<wbr />Active<wbr />Organization</code>

`SelfServeSSONoActiveOrganization` signals that the session has no
last\_active\_organization\_id. Self-serve SSO is per-org; an active org context
is required before any enterprise connection can be created.

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "no active organization",
      "long_message": "Self-serve SSO requires an active organization. Switch to an organization before creating an enterprise connection.",
      "code": "self_serve_sso_no_active_organization"
    }
  ]
}
```

### <code><wbr />Self<wbr />Serve<wbr />S<wbr />S<wbr />O<wbr />Organization<wbr />Disabled</code>

`SelfServeSSOOrganizationDisabled` signals that the active organization does
not have the self-serve SSO toggle enabled.

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "self-serve SSO not enabled for organization",
      "long_message": "Self-serve SSO is not enabled for the active organization.",
      "code": "self_serve_sso_organization_disabled"
    }
  ]
}
```

### <code><wbr />S<wbr />S<wbr />O<wbr />Bypass<wbr />Domain<wbr />Not<wbr />Served</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "user is not served by an enterprise connection",
      "long_message": "The user does not have a verified email address on a domain served by an enterprise connection, so they cannot be added to the SSO bypass allowlist.",
      "code": "sso_bypass_domain_not_served"
    }
  ]
}
```

## Features

### <code><wbr />Feature<wbr />Not<wbr />Enabled</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "not enabled",
      "long_message": "This feature is not enabled on this instance",
      "code": "feature_not_enabled"
    }
  ]
}
```

### <code><wbr />Feature<wbr />Not<wbr />Enabled<wbr />With<wbr />Meta</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "not enabled",
      "long_message": "This feature is not enabled on this instance",
      "code": "feature_not_enabled",
      "meta": {
        "param_name": "<paramName>"
      }
    }
  ]
}
```

### <code><wbr />Feature<wbr />Requires<wbr />Device<wbr />Verification<wbr />U<wbr />R<wbr />L</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Device verification page is not reachable",
      "long_message": "This feature requires a reachable device verification page. Configure a device verification URL or enable the Account Portal for this instance to continue.",
      "code": "feature_requires_device_verification_url"
    }
  ]
}
```

### <code><wbr />Feature<wbr />Requires<wbr />Dynamic<wbr />Oauth<wbr />Client<wbr />Registration</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "dynamic client registration is not enabled",
      "long_message": "Dynamic client registration is not enabled on this instance. Please enable it in the instance settings to use this feature",
      "code": "feature_requires_dynamic_oauth_client_registration"
    }
  ]
}
```

### <code><wbr />Feature<wbr />Requires<wbr />Email<wbr />Address<wbr />Attribute<wbr />Enabled</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Email address attribute must be enabled",
      "long_message": "This feature requires the email address attribute to be enabled. Please enable it in your instance settings to continue.",
      "code": "feature_requires_email_address_enabled"
    }
  ]
}
```

### <code><wbr />Feature<wbr />Requires<wbr />End<wbr />Session<wbr />Enabled</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "End session feature is not enabled",
      "long_message": "The end session feature is not enabled for this instance. Please contact support to enable this feature",
      "code": "feature_requires_end_session_enabled"
    }
  ]
}
```

### <code><wbr />Feature<wbr />Requires<wbr />O<wbr />Auth2<wbr />Consent<wbr />Screen<wbr />Enabled</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "OAuth Client does not have the consent screen enabled",
      "long_message": "OAuth Client does not have the consent screen enabled, please enable it in the OAuth Client settings to use this feature",
      "code": "feature_requires_oauth2_consent_screen_enabled"
    }
  ]
}
```

### <code><wbr />Feature<wbr />Requires<wbr />O<wbr />I<wbr />D<wbr />C<wbr />Provider</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "not an OIDC provider",
      "long_message": "You are using the legacy OAuth 2.0 provider. Please migrate to the new OIDC compatible provider to use this feature",
      "code": "feature_requires_oidc_provider"
    }
  ]
}
```

### <code><wbr />Feature<wbr />Requires<wbr />P<wbr />S<wbr />U</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "not a Progressive Sign Up instance",
      "long_message": "<feature> can only be used in instances that migrated to Progressive Sign Up. This feature is deprecated, please contact support if you need assistance.",
      "code": "feature_requires_progressive_sign_up"
    }
  ]
}
```

### <code><wbr />Not<wbr />Implemented</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "not implemented",
      "long_message": "Feature `<feature>` is not available yet",
      "code": "feature_not_implemented"
    }
  ]
}
```

## Forms

### <code><wbr />Form<wbr />Already<wbr />Exists</code>

`FormAlreadyExists` signifies an error when given resource already exists

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "The <parameter> already exists. Please try another.",
      "long_message": "The <parameter> already exists. Please try another.",
      "code": "form_already_exists",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />At<wbr />Least<wbr />One<wbr />Optional<wbr />Parameter<wbr />Missing</code>

`FormAtLeastOneOptionalParameterMissing` signifies an error when at least one optional parameter must be provided

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "at least one parameter must be provided",
      "long_message": "at least one of `<parameters>` must be provided",
      "code": "form_param_missing",
      "meta": {
        "param_names": [
          "<paramNames>"
        ]
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Disabled<wbr />Parameter<wbr />Value</code>

`FormDisabledParameterValue` signifies an error when the given parameter has an invalid value because it is not enabled in the settings

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "is disabled",
      "long_message": "<value> is disabled. Please verify you're using the correct instance, or see our docs to learn how to enable this value.",
      "code": "form_param_value_disabled",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Disallow<wbr />Future<wbr />Date</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Date values must not be in the future.",
      "long_message": "Date values must not be in the future.",
      "code": "form_disallow_future_date",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Duplicate<wbr />Parameter</code>

`FormDuplicateParameter` signifies an error when a duplicate parameter is found in a form

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is duplicate",
      "long_message": "<param> included multiple times. There should only be one.",
      "code": "form_param_duplicate",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Duplicate<wbr />Parameter<wbr />Value</code>

`FormDuplicateParameterValue` signifies an error when a value has been provided multiple times

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "duplicate values",
      "long_message": "<value> contains duplicate values",
      "code": "form_param_duplicate",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Email<wbr />Address<wbr />Blocked</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "temporary email services are not allowed",
      "long_message": "Temporary email services are not supported. Please use your regular email address to create an account.",
      "code": "form_email_address_blocked",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Identifier<wbr />Exists</code>

`FormIdentifierExists` signifies an error when given identifier already exists

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "That <parameter> is taken. Please try another.",
      "long_message": "That <parameter> is taken. Please try another.",
      "code": "form_identifier_exists",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Identifier<wbr />Exists<wbr />With<wbr />Another<wbr />Account</code>

`FormIdentifierExistsWithAnotherAccount` signifies an error when given identifier already exists.
This is used to signal to a user that the identifier, phone number, is already associated with another account and should remove it from the other account.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "This <parameter> is already associated with an existing account. To use this <parameter> with this account, please remove it from your existing account first.",
      "long_message": "This <parameter> is already associated with an existing account. To use this <parameter> with this account, please remove it from your existing account first.",
      "code": "form_identifier_exists",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Identifier<wbr />Not<wbr />Found</code>

`FormIdentifierNotFound` signifies an error when a required identifier is not found

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Couldn't find your account.",
      "long_message": "Couldn't find your account.",
      "code": "form_identifier_not_found",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Incorrect<wbr />Code</code>

`FormIncorrectCode` signifies an error when the given code is incorrect

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is incorrect",
      "long_message": "Incorrect code",
      "code": "form_code_incorrect",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Incorrect<wbr />Signature</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is incorrect",
      "long_message": "Incorrect signature",
      "code": "form_incorrect_signature"
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Email<wbr />Address</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is invalid",
      "long_message": "<parameter> must be a valid email address.",
      "code": "form_param_format_invalid",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Email<wbr />Addresses</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "invalid email addresses",
      "long_message": "The following email addresses are invalid: <emailAddresses>",
      "code": "form_param_format_invalid",
      "meta": {
        "param_name": "<param>",
        "email_addresses": [
          "<invalidEmailAddresses>"
        ]
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Encoding<wbr />Parameter<wbr />Value</code>

`FormInvalidEncodingParameterValue` signifies an error when the given parameter has an invalid encoding

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "invalid character encoding",
      "long_message": "<param> contains invalid UTF-8 characters",
      "code": "form_param_value_invalid",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Identifier</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is invalid",
      "long_message": "<param> must be either a valid email address, a valid phone number according to E.164 international standard or a valid web3 wallet.",
      "code": "form_param_format_invalid",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Parameter<wbr />Format</code>

`FormInvalidParameterFormat` signifies an error when the given parameter has an invalid format

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "<parameter> is invalid.<details>",
      "long_message": "<parameter> is invalid.<details>",
      "code": "form_param_format_invalid",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Parameter<wbr />Format<wbr />B<wbr />C<wbr />P47</code>

`FormInvalidParameterFormatBCP47` signifies an error when the given parameter does not match the BCP-47 format

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is invalid",
      "long_message": "<parameter> must be a valid BCP-47 language tag.",
      "code": "form_param_format_invalid",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Parameter<wbr />Value</code>

`FormInvalidParameterValue` signifies an error when the given parameter has an invalid value

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is invalid",
      "long_message": "<value> does not match one of the allowed values for parameter <param>",
      "code": "form_param_value_invalid",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Parameter<wbr />Value<wbr />Must<wbr />Be<wbr />Not<wbr />Empty</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is invalid",
      "long_message": "<param> is invalid. Must be not empty",
      "code": "form_param_value_invalid",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Parameter<wbr />Value<wbr />With<wbr />Allowed</code>

`FormInvalidParameterValueWithAllowed` signifies an error when the given parameter has an invalid value.
The difference with FormInvalidParameterValue is that this error also includes the allowed values

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is invalid",
      "long_message": "<value> does not match the allowed values for parameter <param>. Allowed values: <allowedValues>",
      "code": "form_param_value_invalid",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Password<wbr />Length<wbr />Too<wbr />Long</code>

`FormInvalidPasswordLengthTooLong` signifies an error when the password is invalid because of its length

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Passwords must be less than <maxLen> characters.",
      "long_message": "Passwords must be less than <maxLen> characters.",
      "code": "form_password_length_too_long",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Password<wbr />Length<wbr />Too<wbr />Short</code>

`FormInvalidPasswordLengthTooShort` signifies an error when the password is invalid because of its length

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Passwords must be <minLen> characters or more.",
      "long_message": "Passwords must be <minLen> characters or more.",
      "code": "form_password_length_too_short",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Password<wbr />No<wbr />Lowercase</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Passwords must contain at least one lowercase character.",
      "long_message": "Passwords must contain at least one lowercase character.",
      "code": "form_password_no_lowercase",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Password<wbr />No<wbr />Number</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Passwords must contain at least one number.",
      "long_message": "Passwords must contain at least one number.",
      "code": "form_password_no_number",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Password<wbr />No<wbr />Special<wbr />Char</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Passwords must contain at least one of the following special characters: <allowedSpecialChars>.",
      "long_message": "Passwords must contain at least one of the following special characters: <allowedSpecialChars>.",
      "code": "form_password_no_special_char",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Password<wbr />Not<wbr />Strong<wbr />Enough</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Given password is not strong enough.",
      "long_message": "Given password is not strong enough.",
      "code": "form_password_not_strong_enough",
      "meta": {
        "param_name": "<param>",
        "zxcvbn": {
          "suggestions": [
            "<suggestions>"
          ]
        }
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Password<wbr />No<wbr />Uppercase</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Passwords must contain at least one uppercase character.",
      "long_message": "Passwords must contain at least one uppercase character.",
      "code": "form_password_no_uppercase",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Password<wbr />Size<wbr />In<wbr />Bytes<wbr />Exceeded</code>

`FormInvalidPasswordSizeInBytesExceeded` is returned when the password exceeds
the maximum size in bytes. A password with multi-byte characters can exceed it
while still under the maximum character length.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Your password is too long. Please use a shorter one.",
      "long_message": "Your password is too long. Please use a shorter one.",
      "code": "form_password_size_in_bytes_exceeded",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Phone<wbr />Number</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is invalid",
      "long_message": "<parameter> must be a valid phone number according to E.164 international standard.",
      "code": "form_param_format_invalid",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Time</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "invalid format",
      "long_message": "<param> must contain a datetime specified in RFC3339 format (e.g. `2022-10-20T10:00:27.645Z`).",
      "code": "form_param_invalid_time",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Type<wbr />Parameter</code>

`FormInvalidTypeParameter` signifies an error when a form parameter has the wrong type

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is invalid",
      "long_message": "`<param>` must be a `<paramType>`.",
      "code": "form_param_type_invalid",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Username<wbr />Character</code>

`FormInvalidUsernameCharacter` signifies an error when the given username does not match username regex

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "<parameter> can only contain <allowedCharsString>.",
      "long_message": "<parameter> can only contain <allowedCharsString>.",
      "code": "form_username_invalid_character",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Username<wbr />Length</code>

`FormInvalidUsernameLength` signifies an error when the given username does not have required length

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "<parameter> must be between <mininum> and <maximum> characters long.",
      "long_message": "<parameter> must be between <mininum> and <maximum> characters long.",
      "code": "form_username_invalid_length",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Username<wbr />Needs<wbr />Non<wbr />Number<wbr />Char<wbr />Code</code>

`FormInvalidUsernameNeedsNonNumberCharCode` signifies an error when the given username does not match username regex

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "<parameter> must contain one non-number character.",
      "long_message": "<parameter> must contain one non-number character.",
      "code": "form_username_needs_non_number_char",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Invalid<wbr />Web3<wbr />Wallet<wbr />Address</code>

`FormInvalidWeb3WalletAddress` signifies an error when the given web3 wallet address is invalid

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is invalid",
      "long_message": "<parameter> must be a valid web3 wallet address.",
      "code": "form_param_format_invalid",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Legal<wbr />Not<wbr />Accepted</code>

`FormLegalNotAccepted` is returned when the user hasn't accepted the required legal consent.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "legal not accepted",
      "long_message": "Legal consent must be accepted in order to continue.",
      "code": "legal_not_accepted",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Maximum<wbr />Parameters<wbr />Exceeded</code>

`FormMaximumParametersExceeded` signifies an error when more than 100 of the same param is included.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "<param> is included more than the maximum of 100 times.",
      "long_message": "<param> is included more than the maximum of 100 times.",
      "code": "form_param_duplicate",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Metadata<wbr />Invalid<wbr />Type</code>

`FormMetadataInvalidType` signifies an error when the given metadata is not a valid key-value object

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "<key> must be a valid key-value object. To reset the <metadataType>, use an empty object (\"{}\").",
      "long_message": "<key> must be a valid key-value object. To reset the <metadataType>, use an empty object (\"{}\").",
      "code": "form_param_value_invalid",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Missing<wbr />Conditional<wbr />Parameter</code>

`FormMissingConditionalParameter` signifies an error when required parameter based on conditions is missing

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is missing",
      "long_message": "`<param>` is required when `<leftCondition>` is `<rightCondition>`.",
      "code": "form_conditional_param_missing",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Missing<wbr />Conditional<wbr />Parameter<wbr />On<wbr />Existence</code>

`FormMissingConditionalParameterOnExistence` signifies an error when parameter is required because of the existence of another

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is missing",
      "long_message": "`<missingParam>` is required when `<conditionalParam>` is present.",
      "code": "form_conditional_param_missing",
      "meta": {
        "param_name": "<missingParam>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Missing<wbr />Parameter</code>

`FormMissingParameter` signifies an error when an expected form parameter is missing

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is missing",
      "long_message": "<param> must be included.",
      "code": "form_param_missing",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Missing<wbr />Resource</code>

`FormMissingResource` signifies an error when the form parameter is referring to a missing resource

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is missing",
      "long_message": "The resource associated with the supplied <param> was not found.",
      "code": "form_resource_not_found",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />New<wbr />Password<wbr />Matches<wbr />Current</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is invalid",
      "long_message": "New password cannot be the same as the current password.",
      "code": "form_new_password_matches_current",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Nil<wbr />Parameter</code>

`FormNilParameter` signifies an error when a nil parameter is found in a form

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Enter <parameter>.",
      "long_message": "Enter <parameter>.",
      "code": "form_param_nil",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Nil<wbr />Parameter<wbr />With<wbr />Custom<wbr />Text</code>

`FormNilParameterWithCustomText` signifies an error when a nil parameter is found in a form.
This variant also accepts a custom text to be displayed.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "You have to use <customText>.",
      "long_message": "You have to use <customText>.",
      "code": "form_param_nil",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Not<wbr />Allowed<wbr />Space<wbr />Or<wbr />Non<wbr />Printable</code>

`FormNotAllowedSpaceOrNonPrintable` signifies an error when the given parameter contains only whitespace or non-printable characters

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "<parameter> cannot contain only spaces.",
      "long_message": "<parameter> cannot contain only spaces.",
      "code": "form_param_value_invalid",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Not<wbr />Allowed<wbr />To<wbr />Disable<wbr />Default<wbr />Second<wbr />Factor</code>

`FormNotAllowedToDisableDefaultSecondFactor` signifies an error when trying to disable the default flag from a second-factor

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "The default second factor method can only be changed by assigning another method as the default.",
      "long_message": "The default second factor method can only be changed by assigning another method as the default.",
      "code": "form_disable_default_second_factor_not_allowed",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Parameter<wbr />Array<wbr />Size<wbr />Exceeded</code>

`FormParameterArraySizeExceeded` signifies an error when the given array exceeds the maximum allowed size

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "exceeds maximum size",
      "long_message": "<parameter> should not exceed <maximum> items.",
      "code": "form_param_array_size_exceeded",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Parameter<wbr />Deprecated</code>

`FormParameterDeprecated` is returned when a request includes a parameter that the
endpoint no longer accepts. The long message can name the replacement, such as a
different endpoint.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is deprecated",
      "long_message": "<param> is deprecated and is no longer a valid parameter for this request.",
      "code": "form_param_deprecated",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Parameter<wbr />Max<wbr />Length<wbr />Exceeded</code>

`FormParameterMaxLengthExceeded` signifies an error when the given param value exceeds the maximum allowed length

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "exceeds maximum length",
      "long_message": "<parameter> should not exceed <maximum> characters.",
      "code": "form_param_max_length_exceeded",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Parameter<wbr />Not<wbr />Allowed<wbr />Conditionally</code>

`FormParameterNotAllowedConditionally` signifies an error when parameter is not allowed based on condition

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is not allowed",
      "long_message": "`<param>` isn't allowed when `<leftCondition>` is <rightCondition>.",
      "code": "form_conditional_param_disallowed",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Parameter<wbr />Not<wbr />Allowed<wbr />If<wbr />Another<wbr />Parameter<wbr />Is<wbr />Present</code>

`FormParameterNotAllowedIfAnotherParameterIsPresent` signifies an error when a parameter is present but
is not allowed because another parameter is also present

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is not allowed",
      "long_message": "`<notAllowedParam>` isn't allowed when `<existingParam>` is present.",
      "code": "form_conditional_param_disallowed",
      "meta": {
        "param_name": "<notAllowedParam>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Parameter<wbr />Size<wbr />Too<wbr />Large</code>

`FormParameterSizeTooLarge` signifies an error when a parameter exceeds the max allowed size

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "The given <param> exceeds the maximum allowed size of <maxByteSize> bytes (<maxSizeInKb> KB).",
      "long_message": "The given <param> exceeds the maximum allowed size of <maxByteSize> bytes (<maxSizeInKb> KB).",
      "code": "form_param_exceeds_allowed_size",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Parameter<wbr />Value<wbr />Conflict</code>

`FormParameterValueConflict` signifies an error when two parameters that name
the same underlying value — typically a legacy name and the name that
replaces it — are both present but carry different values.

Either name is accepted on its own, and both can be sent together as long as
they agree.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "conflicting values",
      "long_message": "`<param>` and `<otherParam>` refer to the same value, so they must match when both are sent.",
      "code": "form_param_value_conflict",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Parameter<wbr />Value<wbr />Not<wbr />Allowed<wbr />Conditionally</code>

`FormParameterValueNotAllowedConditionally` signifies an error when parameter value is not allowed based on condition

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "<value> is not allowed",
      "long_message": "`<value>` isn't allowed for `<param>` when <leftCondition> is <rightCondition>.",
      "code": "form_conditional_param_value_disallowed",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Parameter<wbr />Value<wbr />Too<wbr />Large</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Value too large",
      "long_message": "The value of <param> can't be greater than <maximum>",
      "code": "form_param_value_too_large",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Password<wbr />Compromised</code>

`FormPasswordCompromised` signifies an error when the chosen password has been found in the pwned list

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Password may be compromised",
      "long_message": "Your password may be compromised. To protect your account, please continue with an alternative sign-in method. You will be required to reset your password after signing in.",
      "code": "form_password_compromised",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Password<wbr />Digest<wbr />Invalid</code>

`FormPasswordDigestInvalid` signifies an error when the provided password\_digest is not valid for the provided password\_hasher

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "The provided <param> is not a valid <hasher> password hash.",
      "long_message": "The provided <param> is not a valid <hasher> password hash.",
      "code": "form_password_digest_invalid_code",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Password<wbr />Incorrect</code>

`FormPasswordIncorrect` signifies an error when given password is incorrect

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Password is incorrect. Try again, or use another method.",
      "long_message": "Password is incorrect. Try again, or use another method.",
      "code": "form_password_incorrect",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Password<wbr />Matches<wbr />Identifier</code>

`FormPasswordMatchesIdentifier` signifies an error when the chosen password
is identical to one of the account's identifiers (email address, phone
number or username).

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Password cannot match your email address, phone number or username. For account safety, please use a different password.",
      "long_message": "Password cannot match your email address, phone number or username. For account safety, please use a different password.",
      "code": "form_password_matches_identifier",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Password<wbr />Or<wbr />Identifier<wbr />Incorrect</code>

`FormPasswordOrIdentifierIncorrect` signifies an error when given password
is incorrect or given identifier does not match an existing account, but does
not return which is incorrect. This is used with enumeration protection.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Password or <identifierTypeHumanReadable> is incorrect. Try again, or use another method.",
      "long_message": "Password or <identifierTypeHumanReadable> is incorrect. Try again, or use another method.",
      "code": "form_password_or_identifier_incorrect",
      "meta": {
        "param_names": [
          "<param>",
          "<identifierType>"
        ]
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Password<wbr />Validation<wbr />Failed</code>

`FormPasswordValidationFailed` signifies a generic error when the password validation failed

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Incorrect password. Please try again.",
      "long_message": "Incorrect password. Please try again.",
      "code": "form_password_validation_failed",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Public<wbr />Client<wbr />Requires<wbr />P<wbr />K<wbr />C<wbr />E</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is invalid",
      "long_message": "PKCE is required for OAuth clients without a secret",
      "code": "form_public_client_requires_pkce",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Pwned<wbr />Password</code>

`FormPwnedPassword` signifies an error when the chosen password has been found in the pwned list

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Password has been found in an online data breach. For account safety, please <action>.",
      "long_message": "Password has been found in an online data breach. For account safety, please <action>.",
      "code": "form_password_pwned",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Unknown<wbr />Parameter</code>

`FormUnknownParameter` signifies an error when an unexpected parameter is found in a form

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is unknown",
      "long_message": "<param> is not a valid parameter for this request.",
      "code": "form_param_unknown",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Unknown<wbr />Parameter<wbr />Due<wbr />To<wbr />Disabled<wbr />Feature</code>

`FormUnknownParameterDueToDisabledFeature` signifies an error when an unexpected parameter is found in a form due to a disabled feature

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is unknown",
      "long_message": "<param> is not a valid parameter for this request.<possibleResolution>",
      "code": "form_param_unknown",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Unverified<wbr />Identification</code>

`FormUnverifiedIdentification` signifies an error when the identification included in the form is unverified

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is unverified",
      "long_message": "This identification needs to be verified before you can perform this action.",
      "code": "form_verification_needed",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Username<wbr />Cannot<wbr />Be<wbr />Phone<wbr />Number</code>

`FormUsernameCannotBePhoneNumber` signifies an error when the given username
is in canonical E.164 phone-number format. This is rejected regardless of
the configured username character set so that the value remains reserved
for the phone-number identifier and avoids ambiguity at sign-in.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "<parameter> cannot be a phone number.",
      "long_message": "<parameter> cannot be a phone number. Please choose a different username.",
      "code": "form_username_cannot_be_phone_number",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Form<wbr />Validation<wbr />Failed</code>

`FormValidationFailed` is returned when one or more request parameters fail validation.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is invalid",
      "long_message": "<sanitizedField> is invalid",
      "code": "form_param_value_invalid",
      "meta": {
        "param_name": "<sanitizedField>"
      }
    }
  ]
}
```

## Fraud

### <code><wbr />Device<wbr />Attestation<wbr />Challenge<wbr />Client<wbr />Mismatch</code>

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "device attestation challenge client mismatch",
      "long_message": "The device attestation challenge provided is not valid for the client.",
      "code": "device_attestation_challenge_client_mismatch"
    }
  ]
}
```

### <code><wbr />Device<wbr />Attestation<wbr />Misconfigured</code>

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "device attestation is misconfigured",
      "long_message": "Device attestation is misconfigured for this instance.",
      "code": "device_attestation_misconfigured"
    }
  ]
}
```

### <code><wbr />Device<wbr />Attestation<wbr />Not<wbr />Configured</code>

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "device attestation not configured",
      "long_message": "Device attestation is not configured for this instance.",
      "code": "device_attestation_not_configured"
    }
  ]
}
```

### <code><wbr />Device<wbr />Attestation<wbr />Unsupported<wbr />Platform</code>

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "unsupported native client platform",
      "long_message": "Device attestation is not supported for the client platform.",
      "code": "device_attestation_unsupported_platform"
    }
  ]
}
```

### <code><wbr />Device<wbr />Attestation<wbr />Verification<wbr />Failed</code>

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "device attestation verification failed",
      "long_message": "Failed to verify the provided device attestation.",
      "code": "device_attestation_verification_failed"
    }
  ]
}
```

### <code><wbr />Fraud<wbr />Action<wbr />Blocked</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Action blocked",
      "long_message": "This action was detected as suspicious and has been blocked. If you believe this was a mistake, please contact support.",
      "code": "action_blocked"
    }
  ]
}
```

### <code><wbr />Fraud<wbr />Action<wbr />Blocked<wbr />With<wbr />Details</code>

`FraudActionBlockedWithDetails` is FraudActionBlocked carrying the reference and
the instance's own message.

Same status, same code, same short message. The LONG message gains the
reference when there is one — see fraudActionBlockedLongMessage for why that
is not confined to `meta` — and `meta` is otherwise additive, so a client that
does not know the field still renders a sentence it understands, now with
something the customer can quote.

Callers that have no details keep using FraudActionBlocked. Details with
nothing in them produce exactly that, so "no details" has one spelling on the
wire instead of two.

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Action blocked",
      "long_message": "This action was detected as suspicious and has been blocked. If you believe this was a mistake, please contact support.",
      "code": "action_blocked"
    }
  ]
}
```

### <code><wbr />Fraud<wbr />Rate<wbr />Limit<wbr />Exceeded</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Unusual activity was detected",
      "long_message": "Unusual activity was detected. Please try again later or contact our support if you continue to experience issues.",
      "code": "captcha_invalid"
    }
  ]
}
```

### <code><wbr />Fraud<wbr />Sign<wbr />Up<wbr />Rate<wbr />Limit<wbr />Exceeded</code>

filename: Status Code: 429
```json
{
  "errors": [
    {
      "message": "Sign up rate limit exceeded",
      "long_message": "The sign up rate limit was exceeded. Please try a different method or contact our support if you continue to experience issues.",
      "code": "signup_rate_limit_exceeded"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Device<wbr />Attestation<wbr />Assertion</code>

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "invalid device attestation assertion",
      "long_message": "The device attestation assertion provided is invalid.",
      "code": "invalid_device_attestation_assertion"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Device<wbr />Attestation<wbr />Challenge</code>

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "invalid device attestation challenge",
      "long_message": "The device attestation challenge provided is either invalid or has expired.",
      "code": "invalid_device_attestation_challenge"
    }
  ]
}
```

### <code><wbr />Protect<wbr />Check<wbr />Already<wbr />Resolved</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "protect check already resolved",
      "long_message": "This protect check has already been completed and cannot be resolved again.",
      "code": "protect_check_already_resolved"
    }
  ]
}
```

### <code><wbr />Protect<wbr />Check<wbr />Required</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Protect check required",
      "long_message": "A Protect check is required before this action can continue.",
      "code": "requires_protect_check",
      "meta": {
        "protect_check": "<protectCheck>"
      }
    }
  ]
}
```

### <code><wbr />Requires<wbr />Device<wbr />Attestation</code>

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "Device attestation is required",
      "long_message": "A valid device attestation could not be found for the client.",
      "code": "requires_device_attestation"
    }
  ]
}
```

## Gone

### <code><wbr />Gone</code>

`Gone` returns a 410 `Gone` error

filename: Status Code: 410
```json
{
  "errors": [
    {
      "message": "Resource is gone",
      "long_message": "The requested resource no longer exists.",
      "code": "gone"
    }
  ]
}
```

## Google One Tap

### <code><wbr />Google<wbr />One<wbr />Tap<wbr />Token<wbr />Invalid</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Google One Tap token is invalid",
      "long_message": "The provided Google One Tap token is invalid. Make sure you're using a valid token generated by Google.",
      "code": "google_one_tap_token_invalid"
    }
  ]
}
```

## Identifications

### <code><wbr />Identification<wbr />Not<wbr />Found</code>

`IdentificationNotFound` signifies an error when no identification is found with the given ID

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "Resource not found",
      "long_message": "No resource was found for ID <resourceID>",
      "code": "resource_not_found"
    }
  ]
}
```

### <code><wbr />Immutable<wbr />Attribute<wbr />Modification<wbr />Not<wbr />Allowed</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Cannot modify <sanitizedAttributeType>",
      "long_message": "Your <sanitizedAttributeType> is immutable and cannot be modified or removed.",
      "code": "immutable_attribute_modification_not_allowed"
    }
  ]
}
```

### <code><wbr />Last<wbr />Identification<wbr />Deletion<wbr />Failed</code>

`LastIdentificationDeletionFailed` signifies an error when trying to delete the last identification associated with a user

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Deletion failed",
      "long_message": "You cannot delete your last identification.",
      "code": "identification_deletion_failed"
    }
  ]
}
```

### <code><wbr />Last<wbr />Identification<wbr />Set<wbr />For2<wbr />F<wbr />A<wbr />Failed</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Update failed",
      "long_message": "You cannot set your last identification as second factor.",
      "code": "identification_update_failed"
    }
  ]
}
```

### <code><wbr />Last<wbr />Required<wbr />Identification<wbr />Deletion<wbr />Failed</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Deleting your last <sanitizedIdentType> is prohibited",
      "long_message": "You are required to maintain at least one <sanitizedIdentType> in your account at all times",
      "code": "last_required_identification_deletion_failed"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Connection<wbr />Blocked<wbr />By<wbr />Immutable<wbr />Attribute</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Cannot connect account",
      "long_message": "This account cannot be connected because its <sanitizedAttributeType> does not match your existing <sanitizedAttributeType>.",
      "code": "oauth_connection_blocked_by_immutable_attribute"
    }
  ]
}
```

### <code><wbr />Second<wbr />Factor<wbr />Deletion<wbr />Not<wbr />Allowed</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "second factor deletion not allowed",
      "long_message": "You are required to maintain at least one two-step verification method in your account at all times",
      "code": "second_factor_deletion_not_allowed"
    }
  ]
}
```

### <code><wbr />Too<wbr />Many<wbr />Unverified<wbr />Identifications</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "too many unverified contacts",
      "long_message": "There are too many unverified contacts for this user.",
      "code": "too_many_unverified_identifications"
    }
  ]
}
```

### <code><wbr />Update<wbr />Second<wbr />Factor<wbr />Unverified</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Update failed",
      "long_message": "Cannot update second factor attributes for unverified identification",
      "code": "identification_update_second_factor_unverified"
    }
  ]
}
```

## Images

### <code><wbr />Image<wbr />Decoding<wbr />Failed</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Image decode error",
      "long_message": "The image could not be decoded. Please ensure the image is valid and try again.",
      "code": "request_body_invalid"
    }
  ]
}
```

### <code><wbr />Image<wbr />Not<wbr />Found</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "Image not found",
      "long_message": "Image not found",
      "code": "image_not_found"
    }
  ]
}
```

### <code><wbr />Image<wbr />Too<wbr />Large</code>

`ImageTooLarge` signifies an error when the image being uploaded is too large to handle.

filename: Status Code: 413
```json
{
  "errors": [
    {
      "message": "Image too large",
      "long_message": "The image being uploaded is more than 10MB. Please choose a smaller one.",
      "code": "image_too_large"
    }
  ]
}
```

### <code><wbr />Image<wbr />Type<wbr />Not<wbr />Supported</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Unsupported image type",
      "long_message": "'<imageType>' images are not currently supported. Please consult the API documentation for more information.",
      "code": "request_body_invalid"
    }
  ]
}
```

### <code><wbr />Request<wbr />Without<wbr />Image</code>

`RequestWithoutImage` signifies an error when no image was present in the request.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Image file missing",
      "long_message": "There was no image file present in the request",
      "code": "form_param_missing"
    }
  ]
}
```

## Impersonation

### <code><wbr />Impersonated<wbr />Session<wbr />Forbidden</code>

`ImpersonatedSessionForbidden` is returned when the action isn't available while
impersonating a user. It has its own code, so clients can tell it apart from
session\_reverification\_required and don't prompt for a retry.

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Not allowed while impersonating",
      "long_message": "This action isn't available while impersonating a user.",
      "code": "impersonated_session_forbidden"
    }
  ]
}
```

## Instances

### <code><wbr />Instance<wbr />Type<wbr />Invalid</code>

`InstanceTypeInvalid` signifies an error when a request cannot be applied to the given instance

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "This request isn't valid for this instance type.",
      "long_message": "This request isn't valid for this instance type.",
      "code": "instance_type_invalid"
    }
  ]
}
```

## Internal

### <code><wbr />Bad<wbr />Request</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Bad request",
      "long_message": "Bad request",
      "code": "bad_request"
    }
  ]
}
```

### <code><wbr />Bad<wbr />Request<wbr />With<wbr />Message</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "<message>",
      "long_message": "<message>",
      "code": "bad_request"
    }
  ]
}
```

### <code><wbr />Quota<wbr />Exceeded</code>

403 - quota exceeded

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Quota exceeded",
      "long_message": "Quota exceeded, you have reached your limit.",
      "code": "quota_exceeded"
    }
  ]
}
```

### <code><wbr />Resource<wbr />Busy</code>

409 - resource locked

filename: Status Code: 409
```json
{
  "errors": [
    {
      "message": "resource busy",
      "long_message": "This resource is currently being modified by another request. Please try again.",
      "code": "resource_locked"
    }
  ]
}
```

### <code><wbr />Too<wbr />Many<wbr />Requests</code>

filename: Status Code: 429
```json
{
  "errors": [
    {
      "message": "Too many requests",
      "long_message": "Too many requests, retry later",
      "code": "too_many_requests",
      "meta": {
        "resets_in": 0
      }
    }
  ]
}
```

### <code><wbr />Unexpected</code>

`Unexpected` is returned when the server hits an unexpected error.

filename: Status Code: 500
```json
{
  "errors": [
    {
      "message": "Oops, an unexpected error occurred",
      "long_message": "There was an internal error on our servers. We've been notified and are working on fixing it.",
      "code": "internal_clerk_error"
    }
  ]
}
```

## Invitations

### <code><wbr />Invitation<wbr />Account<wbr />Already<wbr />Exists</code>

`InvitationAccountAlreadyExists` denotes an error when there is an existing
user identification with the same email as the invitation.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "account exists",
      "long_message": "An account already exists for this invitation. Sign in instead.",
      "code": "invitation_account_exists"
    }
  ]
}
```

### <code><wbr />Invitation<wbr />Already<wbr />Accepted</code>

`InvitationAlreadyAccepted` denotes an error when someone tries to use
an invitation which is already accepted.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Invitation is already accepted, try signing in instead.",
      "long_message": "Invitation is already accepted, try signing in instead.",
      "code": "invitation_already_accepted"
    }
  ]
}
```

### <code><wbr />Invitation<wbr />Identification<wbr />Not<wbr />Exist</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "identification not found",
      "long_message": "This invitation refers to a non-existing identification.",
      "code": "invitation_account_not_exists"
    }
  ]
}
```

### <code><wbr />Invitation<wbr />Not<wbr />Found</code>

`InvitationNotFound` denotes an error when there is no invitation with
the given id

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "not found",
      "long_message": "No invitation was found with id <invitationID>.",
      "code": "resource_not_found"
    }
  ]
}
```

### <code><wbr />Invitations<wbr />Not<wbr />Supported<wbr />In<wbr />Instance</code>

`InvitationsNotSupportedInInstance` denotes an error when user is
trying to create an invitation on an instance that doesn't support it

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Invitations are only supported on instances that accept email addresses.",
      "long_message": "Invitations are only supported on instances that accept email addresses.",
      "code": "invitations_not_supported"
    }
  ]
}
```

### <code><wbr />Revoked<wbr />Invitation</code>

`RevokedInvitation` denotes an error when the given invitation token
does not correspond to any invitations, which means that the invitation
has been removed.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "The invitation was revoked.",
      "long_message": "The invitation was revoked.",
      "code": "revoked_invitation"
    }
  ]
}
```

## JWT templates

### <code><wbr />J<wbr />W<wbr />T<wbr />Template<wbr />Not<wbr />Found</code>

`JWTTemplateNotFound` signifies an error when a JWT template was not found by the provided attribute

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "JWT template not found",
      "long_message": "No JWT template exists with <attribute>: <val>",
      "code": "resource_not_found"
    }
  ]
}
```

## Native magic link

### <code><wbr />Native<wbr />Magic<wbr />Link<wbr />Approval<wbr />Token<wbr />Consumed</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "approval token consumed",
      "long_message": "The approval token has already been used.",
      "code": "approval_token_consumed"
    }
  ]
}
```

### <code><wbr />Native<wbr />Magic<wbr />Link<wbr />Approval<wbr />Token<wbr />Expired</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "approval token expired",
      "long_message": "The approval token has expired. Please request a new email link.",
      "code": "approval_token_expired"
    }
  ]
}
```

### <code><wbr />Native<wbr />Magic<wbr />Link<wbr />Approval<wbr />Token<wbr />Invalid</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "approval token invalid",
      "long_message": "The approval token is invalid.",
      "code": "approval_token_invalid"
    }
  ]
}
```

## Network

### <code><wbr />Gateway<wbr />Timeout</code>

`GatewayTimeout` signifies an error when a 3rd party service takes too long to respond.

filename: Status Code: 504
```json
{
  "errors": [
    {
      "message": "Gateway Timeout",
      "long_message": "A request to a 3rd party service timed out",
      "code": "gateway_timeout"
    }
  ]
}
```

## OAuth

### <code><wbr />Custom<wbr />O<wbr />Auth<wbr />Provider<wbr />Cannot<wbr />Use<wbr />Discovery<wbr />U<wbr />R<wbr />L</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "custom OAuth provider cannot use discovery URL",
      "long_message": "The custom OAuth provider cannot use the discovery URL. Please provide the necessary configuration manually.",
      "code": "custom_oauth_provider_cannot_use_discovery_url",
      "meta": {
        "param_name": "discovery_url"
      }
    }
  ]
}
```

### <code><wbr />Custom<wbr />O<wbr />Auth<wbr />Provider<wbr />Discovery<wbr />Issuer<wbr />Mismatch</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "issuer mismatch in custom OAuth provider discovery URL",
      "long_message": "The issuer in the discovery URL (<url>) does not match the issuer returned in the configuration (<issuer>).",
      "code": "custom_oauth_provider_discovery_issuer_mismatch",
      "meta": {
        "param_name": "discovery_url"
      }
    }
  ]
}
```

### <code><wbr />Custom<wbr />Oauth<wbr />Provider<wbr />Discovery<wbr />Server<wbr />Retrieval<wbr />Error</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "error retrieving OAuth response from provider's discovery URL",
      "long_message": "An error was encountered when attempting to retrieve metadata from the oauth url \"<url>\": \"<reason>\"",
      "code": "custom_oauth_provider_discovery_server_retrieval_error",
      "meta": {
        "param_name": "discovery_url"
      }
    }
  ]
}
```

### <code><wbr />External<wbr />Account<wbr />Email<wbr />Address<wbr />Verification<wbr />Required</code>

`ExternalAccountEmailAddressVerificationRequired` signifies an error when the external account requires email address verification

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Email address verification required",
      "long_message": "Your associated email address is required to be verified, because it was initially created as unverified.",
      "code": "external_account_email_address_verification_required"
    }
  ]
}
```

### <code><wbr />External<wbr />Account<wbr />Missing<wbr />Refresh<wbr />Token</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Missing refresh token",
      "long_message": "We cannot refresh your OAuth access token because the server didn't provide a refresh token. Please re-connect your account.",
      "code": "external_account_missing_refresh_token"
    }
  ]
}
```

### <code><wbr />External<wbr />Account<wbr />Not<wbr />Found</code>

`ExternalAccountNotFound` is returned when the external account from the OAuth
callback isn't found. It's also returned in transfer flows where the external
account exists but no user has been created for it yet.

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "Invalid external account",
      "long_message": "The External Account was not found.",
      "code": "external_account_not_found"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />O<wbr />Auth<wbr />Callback</code>

`InvalidOAuthCallback` signifies an error when the form of OAuth callback is invalid

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Invalid OAuth callback",
      "long_message": "invalid form for oauth_callback",
      "code": "oauth_callback_invalid"
    }
  ]
}
```

### <code><wbr />Misconfigured<wbr />O<wbr />Auth<wbr />Provider</code>

`MisconfiguredOAuthProvider` signifies an error when there is a misconfiguration for an OAuth provider

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Misconfigured OAuth provider",
      "long_message": "Misconfigured OAuth provider. Please make sure you have set it correctly",
      "code": "misconfigured_oauth_provider"
    }
  ]
}
```

### <code><wbr />Non<wbr />Authenticatable<wbr />Oauth<wbr />Provider</code>

`NonAuthenticatableOauthProvider` signifies an error when an oauth flow step is attempted for a provider that is not
enabled for authentication.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "<providerTitle> OAuth is not supported for authentication.",
      "long_message": "<providerTitle> OAuth is not supported for authentication. Please contact us if you think this error should not appear.",
      "code": "oauth_non_authenticatable_provider"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Access<wbr />Denied</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Access denied to <providerName> account",
      "long_message": "You did not grant access to your <providerName> account",
      "code": "oauth_access_denied"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Account<wbr />Already<wbr />Connected</code>

`OAuthAccountAlreadyConnected` signifies an error when an OAuth account if already connected for a specific provider

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Already connected",
      "long_message": "Another account is already connected for this particular provider (<providerTitle>)",
      "code": "oauth_account_already_connected"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Additional<wbr />Scopes<wbr />Not<wbr />Supported<wbr />For<wbr />Shared<wbr />Credentials</code>

`OAuthAdditionalScopesNotSupportedForSharedCredentials` signifies an error when
a caller requests additional OAuth scopes for a provider that is using
Clerk's shared development credentials. Requesting extra scopes requires
configuring custom OAuth credentials for the provider.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Additional scopes not supported with shared credentials",
      "long_message": "Requesting additional OAuth scopes is not supported while using Clerk's shared development credentials. Configure custom OAuth credentials for this provider to request additional scopes.",
      "code": "oauth_additional_scopes_not_supported_for_shared_credentials"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Config<wbr />Missing</code>

`OAuthConfigMissing` signifies an error when an application does not have
SSO credentials set, for a particular SSO provider.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "<provider> OAuth keys are missing",
      "long_message": "The application does not have <provider> OAuth keys set in its settings.",
      "code": "oauth_config_missing"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Fetch<wbr />User<wbr />Error</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Fetch user error",
      "long_message": "<err>",
      "code": "oauth_fetch_user_error"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Identification<wbr />Claimed</code>

`OAuthIdentificationClaimed` signifies an error when the requested oauth identification is already claimed by another user

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Identification claimed by another user",
      "long_message": "The email address associated with this OAuth account is already claimed by another user.",
      "code": "oauth_identification_claimed"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Invalid<wbr />Redirect<wbr />U<wbr />R<wbr />I</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "invalid redirect uri configuration in <providerName>",
      "long_message": "Your <providerName> account configuration is invalid. Make sure you register this endpoint in the list of allowed callback URLs.",
      "code": "redirect_uri_mismatch"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Malformed<wbr />Redirect<wbr />U<wbr />R<wbr />I</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "malformed redirect uri provided",
      "long_message": "malformed redirect uri provided",
      "code": "redirect_uri_mismatch"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Missing<wbr />Access<wbr />Token</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Missing OAuth access token",
      "long_message": "OAuth access token is missing",
      "code": "oauth_missing_access_token"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Missing<wbr />Refresh<wbr />Token</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Cannot refresh OAuth access token",
      "long_message": "The current access token has expired and we cannot refresh it, because the authorization server hasn't provided us with a refresh token",
      "code": "oauth_missing_refresh_token"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Provider<wbr />Not<wbr />Enabled</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "<providerTitle> OAuth provider not enabled",
      "long_message": "Single-sign on with <providerTitle> OAuth provider is not enabled in the instance settings.",
      "code": "oauth_provider_not_enabled"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Shared<wbr />Credentials<wbr />Not<wbr />Supported</code>

`OAuthSharedCredentialsNotSupported` signifies an error when an OAuth provider uses our shared credentials, but those are not supported anymore.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Shared credentials not supported",
      "long_message": "Shared credentials are no longer supported for this provider. Please update via the Clerk Dashboard.",
      "code": "oauth_shared_credentials_not_supported"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Token<wbr />Exchange<wbr />Error</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Token exchange error",
      "long_message": "<err>",
      "code": "oauth_token_exchange_error"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Unregistered<wbr />Redirect<wbr />U<wbr />R<wbr />I</code>

`OAuthUnregisteredRedirectURI` signifies that the redirect\_uri on an OAuth 2.0
authorization request does not exactly match any URI registered for the
application. It shares its status and redirect\_uri\_mismatch code with a
malformed redirect\_uri, so existing clients handle both the same way.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "invalid redirect uri provided",
      "long_message": "The redirect_uri does not exactly match a redirect URI registered for this OAuth application.",
      "code": "redirect_uri_mismatch"
    }
  ]
}
```

### <code><wbr />Unsupported<wbr />Oauth<wbr />Provider</code>

`UnsupportedOauthProvider` signifies an error when an instance tries to enable
an OAuth external provider which is not supported.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "<providerTitle> OAuth is not supported.",
      "long_message": "<providerTitle> OAuth is not supported. Please contact us if you think this error should not appear.",
      "code": "oauth_unsupported_provider"
    }
  ]
}
```

## OAuth 2.0 IdP

### <code><wbr />O<wbr />Auth<wbr />Authorize<wbr />Request<wbr />Error</code>

OAuthInvalidAuthorizeRequest signifies an error with the /oauth/authorize request that prevents redirection

filename: Status Code: <statusCode>
```json
{
  "errors": [
    {
      "message": "<errorCode>",
      "long_message": "<errorDescription>: <errorCode>",
      "code": "oauth_authorize_request_error"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Device<wbr />Code<wbr />Expired</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "device code expired",
      "long_message": "The user code has expired. Start the device authorization flow again.",
      "code": "oauth_device_code_expired"
    }
  ]
}
```

### <code><wbr />O<wbr />Auth<wbr />Fetch<wbr />User<wbr />Info</code>

`OAuthFetchUserInfo` signifies an error when user info cannot be retrieved with the access token

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "unable to fetch user info",
      "long_message": "Unable to fetch user info. Check if access token is present and valid.",
      "code": "oauth_fetch_user_error"
    }
  ]
}
```

## Organizations

### <code><wbr />Already<wbr />A<wbr />Member<wbr />Of<wbr />Organization</code>

400 - User with given identifier is already a member of the
organization and cannot be added again

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "already a member",
      "long_message": "<user> is already a member of the organization.",
      "code": "already_a_member_in_organization"
    }
  ]
}
```

### <code><wbr />Default<wbr />Organization<wbr />Role<wbr />Not<wbr />Found</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "not found",
      "long_message": "Default organization role not found",
      "code": "resource_not_found"
    }
  ]
}
```

### <code><wbr />Exclusive<wbr />Organization<wbr />Membership</code>

422 - Returned when a user cannot join (or be added to) an organization
because either the user already belongs to an exclusive organization or the
target organization is exclusive and the user has other memberships.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "exclusive organization membership",
      "long_message": "User cannot belong to multiple organizations because exclusive membership is enabled.",
      "code": "exclusive_organization_membership"
    }
  ]
}
```

### <code><wbr />Exclusive<wbr />Organization<wbr />Membership<wbr />Existing<wbr />Members</code>

422 - Returned when enabling exclusive\_membership on an organization is
rejected because the organization already has members who belong to other
organizations in the same instance. Enabling the flag would retroactively
violate the invariant for those pre-existing members, so the flip is denied.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "exclusive organization membership cannot be enabled",
      "long_message": "Exclusive membership cannot be enabled because existing members of this organization belong to other organizations. Remove their other memberships before enabling exclusive membership.",
      "code": "exclusive_organization_membership_existing_members"
    }
  ]
}
```

### <code><wbr />Force<wbr />Organization<wbr />Selection<wbr />Not<wbr />Allowed<wbr />When<wbr />Organizations<wbr />Disabled</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "not allowed",
      "long_message": "`force_organization_selection` cannot be enabled when organizations are disabled. Please enable organizations first.",
      "code": "force_organization_selection_not_allowed_when_organizations_disabled"
    }
  ]
}
```

### <code><wbr />Invitations<wbr />Not<wbr />Supported<wbr />In<wbr />Organization</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "email invitations not supported",
      "long_message": "This organization doesn't support email invitations. Please contact support to enable this feature.",
      "code": "invitations_not_supported_in_organization"
    }
  ]
}
```

### <code><wbr />Missing<wbr />Organization<wbr />Permission</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "missing permission",
      "long_message": "Current user is missing an organization permission.",
      "code": "missing_organization_permission",
      "meta": {
        "permissions": [
          "<permissions>"
        ]
      }
    }
  ]
}
```

### <code><wbr />Not<wbr />A<wbr />Member<wbr />In<wbr />Organization</code>

`NotAMemberInOrganization` is returned when the user isn't a member of the
organization and the action is limited to its members.

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "not a member",
      "long_message": "Current user is not a member of the organization. Only organization members can perform this action.",
      "code": "not_a_member_in_organization"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Admin<wbr />Delete<wbr />Not<wbr />Enabled</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "admin delete not enabled",
      "long_message": "Deletion by admin is not enabled for this organization.",
      "code": "organization_admin_delete_not_enabled"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Already<wbr />Has<wbr />S<wbr />S<wbr />O<wbr />Connection</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "this organization already has an SSO connection",
      "long_message": "This organization already has an SSO connection.",
      "code": "organization_already_has_sso_connection",
      "meta": {
        "param_name": "organization_id"
      }
    }
  ]
}
```

### <code><wbr />Organization<wbr />Domain<wbr />Already<wbr />Exists</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "organizaton domain already exists",
      "long_message": "This domain is already used by another organization.",
      "code": "organization_domain_already_exists",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Organization<wbr />Domain<wbr />Already<wbr />Exists<wbr />For<wbr />Same<wbr />Organization</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "organization domain already exists",
      "long_message": "This domain is already used by your organization.",
      "code": "organization_domain_already_exists_same_organization",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Organization<wbr />Domain<wbr />Blocked</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "blocked email domain",
      "long_message": "This is a blocked email provider domain. Please use a different one.",
      "code": "organization_domain_blocked",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Organization<wbr />Domain<wbr />Common</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "common email domain",
      "long_message": "This is a common email provider domain. Please use a different one.",
      "code": "organization_domain_common",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Organization<wbr />Domain<wbr />Enrollment<wbr />Mode<wbr />Invalid</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "organization domain enrollment mode invalid",
      "long_message": "The domain \"<domain>\" is not configured for <requiredMode> enrollment. Set the domain's enrollment mode to <requiredMode> before using it here.",
      "code": "organization_domain_enrollment_mode_invalid",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Organization<wbr />Domain<wbr />Enrollment<wbr />Mode<wbr />Not<wbr />Enabled</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "organization enrollment mode not enabled",
      "long_message": "Enrollment mode <enrollmentMode> is not enabled for this instances's organizations.",
      "code": "organization_domain_enrollment_mode_not_enabled"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Domain<wbr />Exists<wbr />For<wbr />Enrollment</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "domain used for organization enrollment",
      "long_message": "This domain is already used for organization enrollment with verified domains. Please use a different one.",
      "code": "organization_domain_exists_for_enrollment"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Domain<wbr />Exists<wbr />For<wbr />Enterprise<wbr />Connection</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "domain exists for an organization enterprise connection",
      "long_message": "This domain is already used for your organization’s SSO. Please use a different one.",
      "code": "organization_domain_exists_for_enterprise_connection"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Domain<wbr />Last<wbr />Verified<wbr />Cannot<wbr />Delete</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "cannot delete last verified domain",
      "long_message": "This is the organization's only verified domain. Organizations must keep at least one verified domain, so it can't be deleted.",
      "code": "organization_domain_last_verified_cannot_delete"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Domain<wbr />Mismatch</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Organization domain mismatch",
      "long_message": "The provided email address doesn't match the organization domain name.",
      "code": "organization_domain_mismatch",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Organization<wbr />Domain<wbr />Ownership<wbr />Not<wbr />Verified</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "organization domain not verified",
      "long_message": "The domain \"<domain>\" is not a verified domain of this organization. Verify ownership of the domain before using it here.",
      "code": "organization_domain_ownership_not_verified",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Organization<wbr />Domain<wbr />Quota<wbr />Exceeded</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "organization domains quota exceeded",
      "long_message": "You have reached your limit of <maxAllowed> domains per organization.",
      "code": "organization_domain_quota_exceeded"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Domains<wbr />Not<wbr />Enabled</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "organization domains not enabled",
      "long_message": "This instance does not have domains enabled for organizations.",
      "code": "organization_domains_not_enabled"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Invitation<wbr />Already<wbr />Accepted</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "invitation has already been accepted",
      "long_message": "This invitation has already been accepted. Sign in instead.",
      "code": "organization_invitation_already_accepted"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Invitation<wbr />Identification<wbr />Already<wbr />Exists</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "email address already exists",
      "long_message": "The email address in this invitation already exists. If it belongs to you, try signing in instead.",
      "code": "organization_invitation_identification_already_exists"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Invitation<wbr />Identification<wbr />Not<wbr />Exist</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "identification not found",
      "long_message": "User not found. If you don't have an account, sign up first to accept this invitation.",
      "code": "organization_invitation_identification_not_exist"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Invitation<wbr />Not<wbr />Found</code>

404 - Invitation not found.

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "not found",
      "long_message": "No invitation found with id <invitationID>.",
      "code": "organization_invitation_not_found"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Invitation<wbr />Not<wbr />Pending</code>

404 - Invitation is not pending.

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "not pending",
      "long_message": "The organization invitation is not in the 'pending' status.",
      "code": "organization_invitation_not_pending"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Invitation<wbr />Not<wbr />Unique</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "organization invitation not unique",
      "long_message": "Organizations cannot have duplicate pending invitations for an email address.",
      "code": "organization_invitation_not_unique"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Invitation<wbr />Rate<wbr />Limit<wbr />Exceeded</code>

`OrganizationInvitationRateLimitExceeded` means the recipient's invitation
email budget is spent. No invitation was created.

filename: Status Code: 429
```json
{
  "errors": [
    {
      "message": "Too many invitations for this email address",
      "long_message": "Too many organization invitations were recently sent to this email address. Please try again later.",
      "code": "organization_invitation_rate_limit_exceeded"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Invitation<wbr />Revoked</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "invitation has been revoked",
      "long_message": "This invitation has been revoked and cannot be used anymore.",
      "code": "organization_invitation_revoked_code"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Invitation<wbr />To<wbr />Deleted<wbr />Organization</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "organization invitation to deleted organization",
      "long_message": "This invitation refers to an organization that has been deleted.",
      "code": "organization_invitation_to_deleted_organization"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Managed<wbr />Role<wbr />Operation<wbr />F<wbr />A<wbr />P<wbr />I<wbr />Disallowed</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "organization managed role operation disallowed",
      "long_message": "Managed roles cannot be set through the frontend API. Use the dashboard or backend API instead.",
      "code": "form_param_value_invalid",
      "meta": {
        "param_name": "<paramName>"
      }
    }
  ]
}
```

### <code><wbr />Organization<wbr />Member<wbr />Limit<wbr />Managed<wbr />By<wbr />Billing</code>

`OrganizationMemberLimitManagedByBilling` returns an error when trying to update
the member limit for an organization that is on a seat-based billing plan

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "member limit managed by Billing",
      "long_message": "This organization's member limit is managed by their subscription. It cannot be edited directly.",
      "code": "organization_member_limit_managed_by_billing",
      "meta": {
        "param_name": "max_allowed_memberships"
      }
    }
  ]
}
```

### <code><wbr />Organization<wbr />Membership<wbr />Enterprise<wbr />Connection<wbr />Cannot<wbr />Remove</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "cannot remove enterprise connection organization membership",
      "long_message": "Cannot remove an organization membership that is tied to an enterprise connection.",
      "code": "organization_membership_enterprise_connection_cannot_remove"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Membership<wbr />Quota<wbr />Exceeded</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "organization membership quota exceeded",
      "long_message": "You have reached your limit of <maxAllowed> organization memberships, including outstanding invitations.",
      "code": "organization_membership_quota_exceeded"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Membership<wbr />Quota<wbr />Exceeded<wbr />For<wbr />S<wbr />S<wbr />O</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "organization membership quota exceeded for sso per org",
      "long_message": "The organization you are trying to join is full. Please contact support.",
      "code": "organization_membership_quota_exceeded_for_sso"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Membership<wbr />S<wbr />C<wbr />I<wbr />M<wbr />Managed</code>

filename: Status Code: 409
```json
{
  "errors": [
    {
      "message": "membership role managed by directory sync",
      "long_message": "This membership is managed by a directory and cannot be changed manually.",
      "code": "organization_membership_managed_by_scim"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Minimum<wbr />Permissions<wbr />Needed</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "minimum organization permissions needed",
      "long_message": "There has to be at least one organization member with the minimum required permissions",
      "code": "organization_minimum_permissions_needed"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Name<wbr />Invalid</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "invalid organization name",
      "long_message": "The organization name \"<name>\" is invalid: <reason>",
      "code": "form_param_value_invalid",
      "meta": {
        "param_name": "name"
      }
    }
  ]
}
```

### <code><wbr />Organization<wbr />Not<wbr />Enabled<wbr />In<wbr />Instance</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "access denied",
      "long_message": "The organizations feature is not enabled for this instance. You can enable it at https://dashboard.clerk.com.",
      "code": "organization_not_enabled_in_instance"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Not<wbr />Found</code>

`OrganizationNotFound` returns a 404 when an organization does not exist.

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "not found",
      "long_message": "Given organization not found.",
      "code": "resource_not_found"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Not<wbr />Found<wbr />Or<wbr />Unauthorized</code>

`OrganizationNotFoundOrUnauthorized` is returned when the organization doesn't
exist or the caller can't access it. The response doesn't say which, so it
doesn't reveal whether the organization exists.

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "not found or unauthorized",
      "long_message": "Given organization not found, or you don't have permission to access the organization",
      "code": "organization_not_found_or_unauthorized"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Quota<wbr />Exceeded</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "organization quota exceeded",
      "long_message": "You have reached your limit of <maxAllowed> organizations. You can remove the organization limit by upgrading to a paid plan or using a production instance.",
      "code": "organization_quota_exceeded"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Role<wbr />Not<wbr />Found</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "not found",
      "long_message": "Organization role not found",
      "code": "resource_not_found",
      "meta": {
        "param_name": "<paramName>"
      }
    }
  ]
}
```

### <code><wbr />Organization<wbr />Role<wbr />On<wbr />Set<wbr />Assigned<wbr />To<wbr />User</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "role is assigned to users",
      "long_message": "The role <roleKey> is assigned to one or more users. Please re-assign the role to the users to proceed.",
      "code": "organization_role_on_set_assigned_to_user",
      "meta": {
        "role_key": "<roleKey>"
      }
    }
  ]
}
```

### <code><wbr />Organization<wbr />Role<wbr />Set<wbr />Reassignment<wbr />Contact<wbr />Support</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "contact support",
      "long_message": "This reassignment affects <affectedCount> memberships, contact support to complete this operation",
      "code": "organization_role_set_reassignment_contact_support"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Role<wbr />Set<wbr />Reassignment<wbr />Mappings<wbr />Invalid</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "reassignment mappings invalid",
      "long_message": "The role <roleKey> is invalid in the reassignment mappings. It must be present in the new role set.",
      "code": "organization_role_set_reassignment_mappings_invalid",
      "meta": {
        "role_key": "<roleKey>"
      }
    }
  ]
}
```

### <code><wbr />Organization<wbr />Role<wbr />Set<wbr />Reassignment<wbr />Mappings<wbr />Missing</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "reassignment mappings missing",
      "long_message": "The following roles are missing from the reassignment mappings: <roleKeys>",
      "code": "organization_role_set_reassignment_mappings_missing",
      "meta": {
        "role_keys": [
          "<roleKeys>"
        ]
      }
    }
  ]
}
```

### <code><wbr />Organizations<wbr />Cannot<wbr />Be<wbr />Enabled</code>

403 - Organizations cannot be enabled for this workspace.

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Organizations cannot be enabled for this workspace.",
      "long_message": "Organizations cannot be enabled for this workspace.",
      "code": "organizations_cannot_be_enabled"
    }
  ]
}
```

### <code><wbr />Organizations<wbr />Disable<wbr />Not<wbr />Allowed</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "cannot disable organizations",
      "long_message": "Cannot disable organizations because <reason>.",
      "code": "organizations_disable_not_allowed"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Slugs<wbr />Disabled</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "organization slugs not enabled",
      "long_message": "This instance does not have slugs enabled for organizations.",
      "code": "organization_slugs_disabled"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Suggestion<wbr />Already<wbr />Accepted</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "suggestion has already been accepted",
      "long_message": "This organization suggestion has already been accepted.",
      "code": "organization_suggestion_already_accepted"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Too<wbr />Large</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Organization too large",
      "long_message": "Organization size is above the API limit",
      "code": "organization_too_large",
      "meta": {
        "param_name": "organization_id"
      }
    }
  ]
}
```

### <code><wbr />Organization<wbr />Unlimited<wbr />Memberships<wbr />Required</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "organization has limited memberships",
      "long_message": "This feature is not supported because organization membership is limited. You can remove the limit by enabling unlimited memberships.",
      "code": "organization_unlimited_membership_required"
    }
  ]
}
```

### <code><wbr />Organization<wbr />Unlimited<wbr />Memberships<wbr />Upgrade<wbr />Required</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "organization has limited memberships",
      "long_message": "This feature is not supported because organization membership is limited. You can remove the limit by upgrading your subscription plan.",
      "code": "organization_unlimited_membership_required"
    }
  ]
}
```

### <code><wbr />Org<wbr />Creation<wbr />Limit<wbr />Exceeded<wbr />Error</code>

403 - Organization Creation Limit Exceeded

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Organization Creation Limit Exceeded",
      "long_message": "You have exceeded the maximum number of organizations you can create.",
      "code": "org_creation_limit_exceeded"
    }
  ]
}
```

### <code><wbr />Personal<wbr />Accounts<wbr />Not<wbr />Allowed</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "personal accounts are not allowed",
      "long_message": "You must maintain at least one organization membership since personal accounts are not allowed on the application",
      "code": "personal_accounts_not_allowed"
    }
  ]
}
```

### <code><wbr />Role<wbr />Migration<wbr />In<wbr />Progress</code>

filename: Status Code: 409
```json
{
  "errors": [
    {
      "message": "migration in progress",
      "long_message": "Cannot modify role set while role reassignment is in progress. Please wait for the migration to complete.",
      "code": "role_migration_in_progress"
    }
  ]
}
```

## Passkeys

### <code><wbr />No<wbr />Passkeys<wbr />Found<wbr />For<wbr />User</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "User has no passkeys",
      "long_message": "User has no passkeys registered for this account",
      "code": "no_passkeys_found_for_user"
    }
  ]
}
```

### <code><wbr />Passkey<wbr />Authentication<wbr />Failure</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "authentication failed",
      "long_message": "Passkey authentication failed",
      "code": "passkey_authentication_failure"
    }
  ]
}
```

### <code><wbr />Passkey<wbr />Identification<wbr />Not<wbr />Verified</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "passkey identification not verified",
      "long_message": "Passkey identification not verified. Registration is incomplete.",
      "code": "passkey_identification_not_verified"
    }
  ]
}
```

### <code><wbr />Passkey<wbr />Invalid<wbr />Public<wbr />Key<wbr />Credential</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is invalid",
      "long_message": "Invalid passkey public key credential",
      "code": "passkey_invalid_public_key_credential",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Passkey<wbr />Invalid<wbr />Verification</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "invalid verification",
      "long_message": "Passkey verification contains invalid nonce",
      "code": "passkey_invalid_verification"
    }
  ]
}
```

### <code><wbr />Passkey<wbr />Not<wbr />Registered</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "not registered",
      "long_message": "Passkey is not registered.",
      "code": "passkey_not_registered"
    }
  ]
}
```

### <code><wbr />Passkey<wbr />Quota<wbr />Exceeded</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "passkey quota exceeded",
      "long_message": "You have reached your limit of <maxAllowed> passkeys per account.",
      "code": "passkey_quota_exceeded"
    }
  ]
}
```

### <code><wbr />Passkey<wbr />Registration<wbr />Failure</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Passkey registration failed",
      "long_message": "Passkey registration flow could not be completed",
      "code": "passkey_registration_failure"
    }
  ]
}
```

## PKCE

### <code><wbr />P<wbr />K<wbr />C<wbr />E<wbr />Verification<wbr />Failed</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "PKCE verification failed",
      "long_message": "The provided code verifier does not match the prepared code challenge.",
      "code": "pkce_verification_failed"
    }
  ]
}
```

## Pricing

### <code><wbr />Unsupported<wbr />Subscription<wbr />Plan<wbr />Features</code>

filename: Status Code: 402
```json
{
  "errors": [
    {
      "message": "Unsupported plan features",
      "long_message": "Some features are not supported in your current plan. Upgrade your subscription to unlock them.",
      "code": "unsupported_subscription_plan_features",
      "meta": {
        "unsupported_features": [
          "<unsupportedFeatures>"
        ]
      }
    }
  ]
}
```

## Promo codes

### <code><wbr />Checkout<wbr />Promo<wbr />Code<wbr />Invalid</code>

`CheckoutPromoCodeInvalid` is returned when a promo code entered at checkout
can't be applied: the code doesn't exist, is archived, its discount's
redemption window isn't open, or the discount doesn't target this checkout's
price, period, or currency. The response doesn't say which, so codes can't be
probed. Show it as a single "Invalid promo code" state.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Invalid promo code",
      "long_message": "This promo code cannot be applied to this checkout",
      "code": "checkout_promo_code_invalid",
      "meta": {
        "param_name": "<paramName>"
      }
    }
  ]
}
```

### <code><wbr />Promo<wbr />Code<wbr />Not<wbr />Applicable<wbr />To<wbr />Checkout</code>

`PromoCodeNotApplicableToCheckout` is returned when the checkout itself cannot
carry a promo code (for example a seat-addition checkout, which reuses the
subscription item's already-applied discount), regardless of which code was
sent.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Promo code not applicable",
      "long_message": "A promo code cannot be applied to this checkout",
      "code": "promo_code_not_applicable_to_checkout"
    }
  ]
}
```

### <code><wbr />Promo<wbr />Code<wbr />Redemption<wbr />Limit<wbr />Reached</code>

`PromoCodeRedemptionLimitReached` is returned when applying or confirming a
promo code that has reached its redemption limit. A redemption can free up if
a pending payment fails or is abandoned, so unlike checkout\_promo\_code\_invalid,
this state can be temporary.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Promo code limit reached",
      "long_message": "This promo code has reached its redemption limit",
      "code": "promo_code_redemption_limit_reached",
      "meta": {
        "param_name": "<paramName>"
      }
    }
  ]
}
```

## Redirect URLs

### <code><wbr />Invalid<wbr />Redirect<wbr />U<wbr />R<wbr />L</code>

`InvalidRedirectURL` signifies an error when a RedirectURL is in invalid format

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Redirect url invalid",
      "long_message": "The provided redirect url is not in a valid format",
      "code": "invalid_redirect_url"
    }
  ]
}
```

### <code><wbr />Prohibited<wbr />Redirect<wbr />U<wbr />R<wbr />L<wbr />Scheme</code>

`ProhibitedRedirectURLScheme` is returned when the redirect URL uses a prohibited scheme.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Invalid URL scheme",
      "long_message": "The provided redirect url has a prohibited URL scheme",
      "code": "prohibited_redirect_url"
    }
  ]
}
```

### <code><wbr />Redirect<wbr />U<wbr />R<wbr />L<wbr />Domain<wbr />Mismatch</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Redirect url does not belong to your domain",
      "long_message": "The provided redirect URL must belong to your instance's domain",
      "code": "redirect_url_domain_mismatch"
    }
  ]
}
```

### <code><wbr />Redirect<wbr />U<wbr />R<wbr />L<wbr />Mismatch</code>

`RedirectURLMismatch` signifies an error when the RedirectURL that was passed during an OAuth flow is not included in the redirect\_urls whitelist for that instance.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Redirect url mismatch",
      "long_message": "The current redirect url passed in the sign in or sign up request does not match an authorized redirect URI for this instance. Review authorized redirect urls for your instance. <val>",
      "code": "resource_missmatch"
    }
  ]
}
```

### <code><wbr />Redirect<wbr />U<wbr />R<wbr />L<wbr />Not<wbr />Associated<wbr />With<wbr />Instance</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Redirect URL is not configured for this instance",
      "long_message": "Clerk could not complete satellite-domain authentication because redirect URL host \"<host>\" is not configured for this production instance. This usually happens when a production Clerk instance is used from an unconfigured preview deployment. Use a configured primary or satellite domain, or use a development or staging Clerk instance for preview deployments.",
      "code": "redirect_url_not_associated_with_instance",
      "meta": {
        "param_name": "redirect_url"
      }
    }
  ]
}
```

## Requests

### <code><wbr />Bulk<wbr />Size<wbr />Exceeded</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "bulk size exceeded",
      "long_message": "Parameters exceed the maximum allowed bulk processing size of <MaxBulkSize>.",
      "code": "bulk_size_exceeded"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />A<wbr />P<wbr />I<wbr />Version</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "invalid API version",
      "long_message": "Invalid Clerk API version: <reason>",
      "code": "api_version_invalid"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />J<wbr />S<wbr />O<wbr />N<wbr />Request<wbr />Body</code>

`InvalidJSONRequestBody` is returned when the request body is malformed JSON. The
long message says what's wrong, such as the byte offset of a syntax error.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Request body invalid",
      "long_message": "Invalid JSON at byte offset <offset>",
      "code": "request_body_invalid"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Query<wbr />Parameter<wbr />Value</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "<param> is invalid",
      "long_message": "<value> does not match one of the allowed values for parameter <param>",
      "code": "invalid_query_parameter_value"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Request<wbr />Body</code>

`InvalidRequestBody` signifies an error when the body of the request does not conform to the expected format

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Request body invalid",
      "long_message": "The request body is invalid. Please consult the API documentation for more information.",
      "code": "request_body_invalid"
    }
  ]
}
```

### <code><wbr />Malformed<wbr />Request<wbr />Parameters</code>

`MalformedRequestParameters` signifies an error when the request parameters are malformed and result in parsing errors

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Malformed request parameters",
      "long_message": "The request parameters are malformed and could not be parsed",
      "code": "malformed_request_parameters"
    }
  ]
}
```

### <code><wbr />Missing<wbr />Query<wbr />Parameter</code>

`MissingQueryParameter` is returned when the request is missing a required query parameter.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Missing query parameter '<param>'",
      "long_message": "The query parameter '<param>' is missing from the request. Please consult the API documentation for more information.",
      "code": "missing_query_parameter"
    }
  ]
}
```

### <code><wbr />Origin<wbr />Header<wbr />Missing</code>

`OriginHeaderMissing` is returned when the request requires an Origin header but
doesn't include one.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Origin header missing",
      "long_message": "This request requires an Origin header to be set, but it is missing",
      "code": "origin_missing"
    }
  ]
}
```

### <code><wbr />Proxy<wbr />Request<wbr />Invalid<wbr />Secret<wbr />Key</code>

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "invalid secret key",
      "long_message": "The secret key given with this proxy request is invalid.",
      "code": "proxy_request_invalid_secret_key"
    }
  ]
}
```

### <code><wbr />Proxy<wbr />Request<wbr />Missing<wbr />Secret<wbr />Key</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "missing secret key",
      "long_message": "When using a proxy, it's required to also pass the instance secret key in the Clerk-Secret-Key header.",
      "code": "proxy_request_missing_secret_key"
    }
  ]
}
```

### <code><wbr />Request<wbr />Body<wbr />Too<wbr />Large</code>

filename: Status Code: 413
```json
{
  "errors": [
    {
      "message": "Request body too large",
      "long_message": "The request body exceeds the maximum allowed size of <maxBytes> bytes.",
      "code": "request_body_too_large"
    }
  ]
}
```

### <code><wbr />Unsupported<wbr />Content<wbr />Type</code>

`UnsupportedContentType` signifies an error when provided content type is unsupported

filename: Status Code: 415
```json
{
  "errors": [
    {
      "message": "Content-Type is unsupported",
      "long_message": "Content-Type <actual> is unsupported. You should use <expected> instead.",
      "code": "unsupported_content_type"
    }
  ]
}
```

## SAML

### <code><wbr />S<wbr />A<wbr />M<wbr />L<wbr />Connection<wbr />Active<wbr />Not<wbr />Found</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "not found",
      "long_message": "No active SAML Connection found with id <connectionID>.",
      "code": "saml_connection_active_not_found"
    }
  ]
}
```

### <code><wbr />S<wbr />A<wbr />M<wbr />L<wbr />Connection<wbr />Cant<wbr />Be<wbr />Activated</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "SAML Connection can't be activated",
      "long_message": "You have to provide the <fields> before you are able to activate this connection.",
      "code": "saml_connection_cant_be_activated"
    }
  ]
}
```

### <code><wbr />S<wbr />A<wbr />M<wbr />L<wbr />Email<wbr />Address<wbr />Domain<wbr />Mismatch</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Email address domain mismatch",
      "long_message": "The email address domain of the provider's account does not match the domain of the connection.",
      "code": "saml_email_address_domain_mismatch",
      "meta": {
        "expected_domain": "<expectedDomain>",
        "received_domain": "<receivedDomain>"
      }
    }
  ]
}
```

### <code><wbr />S<wbr />A<wbr />M<wbr />L<wbr />Email<wbr />Address<wbr />Domain<wbr />Reserved</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "email address domain is used for SAML SSO",
      "long_message": "You can't use this email address, as SAML SSO is enabled for the specific domain.",
      "code": "saml_email_address_domain_reserved"
    }
  ]
}
```

### <code><wbr />S<wbr />A<wbr />M<wbr />L<wbr />Email<wbr />Address<wbr />Mismatch<wbr />With<wbr />Email</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Email address mismatch",
      "long_message": "The provided email address differs from the one in the SAML response (IdP email: <email>).",
      "code": "saml_email_address_domain_mismatch"
    }
  ]
}
```

### <code><wbr />S<wbr />A<wbr />M<wbr />L<wbr />Failed<wbr />To<wbr />Fetch<wbr />I<wbr />D<wbr />P<wbr />Metadata</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Failed to fetch IdP metadata",
      "long_message": "We failed to fetch the IdP metadata. If the error persists, please provide the IdP configuration data explicitly.",
      "code": "saml_failed_to_fetch_idp_metadata"
    }
  ]
}
```

### <code><wbr />S<wbr />A<wbr />M<wbr />L<wbr />Failed<wbr />To<wbr />Parse<wbr />I<wbr />D<wbr />P<wbr />Metadata</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Failed to parse IdP metadata",
      "long_message": "We failed to parse the IdP metadata. If the error persists, please provide the IdP configuration data explicitly.",
      "code": "saml_failed_to_parse_idp_metadata"
    }
  ]
}
```

### <code><wbr />S<wbr />A<wbr />M<wbr />L<wbr />J<wbr />I<wbr />T<wbr />Provisioning<wbr />Disabled</code>

`SAMLJITProvisioningDisabled` signifies that a SAML user could not be signed in
because JIT provisioning is disabled for the connection and no matching user
exists. The blocked email address is surfaced in the meta so it shows up in
the dashboard debug logs.

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "JIT provisioning disabled",
      "long_message": "Just-in-time provisioning is disabled for this SAML connection and no matching user exists for the provided email address.",
      "code": "saml_jit_provisioning_disabled",
      "meta": {
        "email_address": "<emailAddress>"
      }
    }
  ]
}
```

### <code><wbr />S<wbr />A<wbr />M<wbr />L<wbr />Metadata<wbr />Missing<wbr />Fields</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "IdP metadata is missing required fields",
      "long_message": "The IdP metadata is missing the following required fields: <fields>",
      "code": "saml_metadata_missing_fields",
      "meta": {
        "missing_fields": [
          "<missingFields>"
        ]
      }
    }
  ]
}
```

### <code><wbr />S<wbr />A<wbr />M<wbr />L<wbr />Not<wbr />Enabled</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "SAML SSO not enabled",
      "long_message": "SAML SSO is not enabled for this email address.",
      "code": "saml_connection_not_found",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />S<wbr />A<wbr />M<wbr />L<wbr />Response<wbr />Invalid</code>

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "Invalid SAML response",
      "long_message": "The SAML response is invalid.<optionalReason>",
      "code": "saml_response_invalid"
    }
  ]
}
```

### <code><wbr />S<wbr />A<wbr />M<wbr />L<wbr />Response<wbr />Relay<wbr />State<wbr />Missing</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "RelayState parameter is missing from the SAML Response",
      "long_message": "The RelayState parameter is missing from the SAML Response. Note that RelayState is not required if you are using the IdP-initiated flow. See https://clerk.com/docs/guides/configure/auth-strategies/enterprise-connections/authentication-flows#saml",
      "code": "saml_response_relaystate_missing"
    }
  ]
}
```

### <code><wbr />S<wbr />A<wbr />M<wbr />L<wbr />Sign<wbr />In<wbr />Connection<wbr />Missing</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "No SAML Connection for this sign-in",
      "long_message": "The current sign-in does not have a corresponding SAML Connection.",
      "code": "saml_sign_in_connection_missing"
    }
  ]
}
```

### <code><wbr />S<wbr />A<wbr />M<wbr />L<wbr />Sign<wbr />Up<wbr />Connection<wbr />Missing</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "No SAML Connection for this sign-up",
      "long_message": "The current sign-up does not have a corresponding SAML Connection.",
      "code": "saml_sign_up_connection_missing"
    }
  ]
}
```

### <code><wbr />S<wbr />A<wbr />M<wbr />L<wbr />User<wbr />Attribute<wbr />Missing</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "SAML SSO user attribute missing: <attrName>",
      "long_message": "This account does not have an associated '<attrName>' attribute. Contact the IdP administrator for resolution.",
      "code": "saml_user_attribute_missing",
      "meta": {
        "missing_attribute": "<attrName>"
      }
    }
  ]
}
```

## SCIM

### <code><wbr />S<wbr />C<wbr />I<wbr />M<wbr />Attribute<wbr />Managed<wbr />By<wbr />Directory</code>

`SCIMAttributeManagedByDirectory` returns a 409 Conflict error when attempting to
update an attribute that is managed by a directory.

filename: Status Code: 409
```json
{
  "errors": [
    {
      "message": "attribute managed by directory sync",
      "long_message": "<attributeDescription> is not allowed to be updated. This attribute is managed by the directory.",
      "code": "attribute_managed_by_scim",
      "meta": {
        "param_name": "<paramName>"
      }
    }
  ]
}
```

### <code><wbr />S<wbr />C<wbr />I<wbr />M<wbr />Directory<wbr />A<wbr />P<wbr />I<wbr />Key<wbr />Not<wbr />Rotatable</code>

`SCIMDirectoryAPIKeyNotRotatable` returns an error when an API-key rotation
targets a pull-based directory (e.g. Google Workspace). Those authenticate
with a stored credential rather than a bearer token, so there is no key to
rotate; the credential is replaced by uploading a new one instead.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "api key not rotatable",
      "long_message": "This directory authenticates with a stored credential instead of a bearer token, so there is no API key to rotate. Upload a new credential to replace the stored one.",
      "code": "scim_directory_api_key_not_rotatable"
    }
  ]
}
```

### <code><wbr />S<wbr />C<wbr />I<wbr />M<wbr />Directory<wbr />Disabled</code>

`SCIMDirectoryDisabled` returns an error when attempting to trigger a pull
sync on a disabled directory.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "directory disabled",
      "long_message": "This directory is disabled.",
      "code": "scim_directory_disabled"
    }
  ]
}
```

### <code><wbr />S<wbr />C<wbr />I<wbr />M<wbr />Directory<wbr />Enterprise<wbr />Connection<wbr />Already<wbr />Used</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "enterprise connection already in use",
      "long_message": "This enterprise connection is already associated with another directory.",
      "code": "scim_directory_enterprise_connection_already_used",
      "meta": {
        "param_name": "scim_connection_id"
      }
    }
  ]
}
```

### <code><wbr />S<wbr />C<wbr />I<wbr />M<wbr />Directory<wbr />Organization<wbr />Already<wbr />Used</code>

`SCIMDirectoryOrganizationAlreadyUsed` is returned when creating a SCIM directory
for an organization that already has one.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "organization already has a SCIM directory",
      "long_message": "This organization is already associated with another SCIM directory.",
      "code": "scim_directory_organization_already_used",
      "meta": {
        "param_name": "<paramName>"
      }
    }
  ]
}
```

### <code><wbr />S<wbr />C<wbr />I<wbr />M<wbr />Directory<wbr />Paused</code>

`SCIMDirectoryPaused` returns an error when attempting to trigger a pull
sync on a paused directory.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "directory paused",
      "long_message": "This directory is paused.",
      "code": "scim_directory_paused"
    }
  ]
}
```

### <code><wbr />S<wbr />C<wbr />I<wbr />M<wbr />Directory<wbr />Pull<wbr />Mode<wbr />Not<wbr />Configured</code>

`SCIMDirectoryPullModeNotConfigured` returns an error when attempting to
trigger a pull sync on a directory that is not configured for
pull-mode sync.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "directory not configured for pull-mode sync",
      "long_message": "This directory is not configured for pull-mode sync.",
      "code": "scim_directory_pull_mode_not_configured"
    }
  ]
}
```

### <code><wbr />S<wbr />C<wbr />I<wbr />M<wbr />Directory<wbr />Sync<wbr />Throttled</code>

`SCIMDirectorySyncThrottled` returns a 409 Conflict error when a manual pull
sync is requested while one is already running or another just started.

filename: Status Code: 409
```json
{
  "errors": [
    {
      "message": "sync already in progress",
      "long_message": "A sync for this directory is already running.",
      "code": "scim_directory_sync_throttled"
    }
  ]
}
```

## Sessions

### <code><wbr />Cannot<wbr />Create<wbr />Session<wbr />When<wbr />Impersonation<wbr />Is<wbr />Present</code>

filename: Status Code: 409
```json
{
  "errors": [
    {
      "message": "unable to create session",
      "long_message": "Unable to create new session when an impersonation session is present. Please sign out first.",
      "code": "session_creation_not_allowed"
    }
  ]
}
```

### <code><wbr />Deprovisioned</code>

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "account deprovisioned",
      "long_message": "Your account is deprovisioned",
      "code": "deprovisioned"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Action<wbr />For<wbr />Session</code>

`InvalidActionForSession` signifies an error occurred when user tries to perform invalid action on a session

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Invalid action for user session",
      "long_message": "Unable to <action> session <sessionID>",
      "code": "invalid_action_for_session"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Action<wbr />For<wbr />Session<wbr />Reverification</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Invalid action for session reverification",
      "long_message": "We were unable to <action> for this session, as it's not ready for <resolution>.",
      "code": "invalid_action_for_session_reverification"
    }
  ]
}
```

### <code><wbr />Session<wbr />Not<wbr />Found</code>

`SessionNotFound` signifies an error when no session with the given ID was found

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "Session not found",
      "long_message": "No session was found with id <sessionID>",
      "code": "resource_not_found"
    }
  ]
}
```

### <code><wbr />Session<wbr />Reverification<wbr />Missing</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "is missing",
      "long_message": "You need to start a new session verification flow first",
      "code": "session_reverification_missing"
    }
  ]
}
```

### <code><wbr />Session<wbr />Reverification<wbr />Required</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Reverification required",
      "long_message": "You need to provide additional verification to perform this operation",
      "code": "session_reverification_required"
    }
  ]
}
```

### <code><wbr />Unauthorized<wbr />Action<wbr />For<wbr />Session</code>

`UnauthorizedActionForSession` signifies an error occurred when the requestor is not authorized to perform the
requested action to the respective session.

filename: Status Code: 401
```json
{
  "errors": [
    {
      "message": "Unauthorized action for session",
      "long_message": "Not authorized to perform requested action on session <sessionID>",
      "code": "action_for_session_not_authorized"
    }
  ]
}
```

## Sign-in

### <code><wbr />Account<wbr />Lockout<wbr />Warning</code>

`AccountLockoutWarning` is returned when a failed attempt leaves the user 2, 1, or 0
attempts before their account is locked.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "There are no remaining attempts.",
      "long_message": "There are no remaining attempts.",
      "code": "account_lockout_warning"
    }
  ]
}
```

### <code><wbr />Account<wbr />Transfer<wbr />Invalid</code>

`AccountTransferInvalid` signifies an error when no account was found to transfer

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Invalid account transfer",
      "long_message": "There is no account to transfer",
      "code": "account_transfer_invalid"
    }
  ]
}
```

### <code><wbr />Already<wbr />Signed<wbr />In</code>

`AlreadySignedIn` signifies an error when given session ID is already signed in

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "You're already signed in",
      "long_message": "You're already signed in",
      "code": "identifier_already_signed_in"
    }
  ]
}
```

### <code><wbr />Identification<wbr />Belongs<wbr />To<wbr />Different<wbr />User</code>

`IdentificationBelongsToDifferentUser` indicates an error when a user
is trying to perform an operation (e.g. sign in prepare) with an
identification that doesn't belong to him.

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "belongs to different user",
      "long_message": "The given identification belongs to a different user.",
      "code": "resource_forbidden"
    }
  ]
}
```

### <code><wbr />Identification<wbr />Claimed</code>

`IdentificationClaimed` signifies an error when the requested identification is already claimed by another user

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Identification claimed by another user",
      "long_message": "One or more identifiers on this sign up have since been connected to a different User. Please sign up again.",
      "code": "identification_claimed"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Client<wbr />State<wbr />For<wbr />Action</code>

`InvalidClientStateForAction` signifies an error when trying to perform an invalid action for the current client state

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Invalid action",
      "long_message": "We were unable to complete <action> for this Client. <resolution>",
      "code": "client_state_invalid"
    }
  ]
}
```

### <code><wbr />Invalid<wbr />Strategy<wbr />For<wbr />User</code>

`InvalidStrategyForUser` signifies an error when the supplied verification strategy is not valid for the account

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Invalid verification strategy",
      "long_message": "The verification strategy is not valid for this account",
      "code": "strategy_for_user_invalid"
    }
  ]
}
```

### <code><wbr />Mutation<wbr />On<wbr />Older<wbr />Sign<wbr />In<wbr />Not<wbr />Allowed</code>

`MutationOnOlderSignInNotAllowed` signifies an error when trying to mutate an older sign in

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Update operations are not allowed on older sign ins",
      "long_message": "Update operations are not allowed on older sign ins",
      "code": "resource_forbidden"
    }
  ]
}
```

### <code><wbr />No<wbr />Second<wbr />Factors<wbr />For<wbr />Strategy</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "no second factors",
      "long_message": "No second factors were found for strategy <strategy>.",
      "code": "no_second_factors"
    }
  ]
}
```

### <code><wbr />Sign<wbr />In<wbr />Email<wbr />Link<wbr />Not<wbr />Same<wbr />Client</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "email link sign in cannot be completed",
      "long_message": "Email link sign in cannot be completed because it originates from a different client",
      "code": "sign_in_email_link_not_same_client"
    }
  ]
}
```

### <code><wbr />Sign<wbr />In<wbr />Identification<wbr />Or<wbr />User<wbr />Deleted</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "identification or user deleted",
      "long_message": "Either the user or the selected identification were deleted. Please start over.",
      "code": "sign_in_identification_or_user_deleted"
    }
  ]
}
```

### <code><wbr />Sign<wbr />In<wbr />Must<wbr />Use<wbr />Enterprise<wbr />Connection<wbr />Email</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "sign in with must use enterprise connection email address",
      "long_message": "Your account is linked to an enterprise connection. You must sign in with an email address.",
      "code": "sign_in_must_use_enterprise_connection_identifier"
    }
  ]
}
```

### <code><wbr />Sign<wbr />In<wbr />No<wbr />Identification<wbr />For<wbr />User</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "no identification for user",
      "long_message": "The given token doesn't have an associated identification for the user who created it.",
      "code": "sign_in_no_identification_for_user"
    }
  ]
}
```

### <code><wbr />Sign<wbr />In<wbr />Not<wbr />Found</code>

`SignInNotFound` signifies an error when no sign in is found with the given ID.
The sign-in flow also returns it when the sign in's user is deleted while the
sign in is in progress.

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "not found",
      "long_message": "No sign in was found with id <signInID>",
      "code": "resource_not_found"
    }
  ]
}
```

### <code><wbr />Sign<wbr />Up<wbr />If<wbr />Missing<wbr />Identifier<wbr />Not<wbr />Supported</code>

`SignUpIfMissingIdentifierNotSupported` signifies that the identifier attribute cannot be used with sign\_up\_if\_missing

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "identifier not supported with sign_up_if_missing",
      "long_message": "The <identifier> identifier cannot be used with sign_up_if_missing, because verification is required.",
      "code": "sign_up_if_missing_not_allowed"
    }
  ]
}
```

### <code><wbr />Sign<wbr />Up<wbr />If<wbr />Missing<wbr />Not<wbr />Allowed</code>

`SignUpIfMissingNotAllowed` signifies an error when sign\_up\_if\_missing cannot be used
due to instance configuration (restricted mode, captcha, etc.)

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "sign_up_if_missing not allowed",
      "long_message": "The sign_up_if_missing option cannot be used: <reason>",
      "code": "sign_up_if_missing_not_allowed"
    }
  ]
}
```

### <code><wbr />Sign<wbr />Up<wbr />If<wbr />Missing<wbr />Strategy<wbr />Mismatch</code>

`SignUpIfMissingStrategyMismatch` signifies that the prepare strategy doesn't match the initial identification type

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "strategy mismatch with sign_up_if_missing",
      "long_message": "When using sign_up_if_missing, you must use a strategy that matches your initial identification type (<identificationType>), but <strategy> was provided.",
      "code": "sign_up_if_missing_strategy_not_supported"
    }
  ]
}
```

### <code><wbr />Sign<wbr />Up<wbr />If<wbr />Missing<wbr />Strategy<wbr />Not<wbr />Supported</code>

`SignUpIfMissingStrategyNotSupported` signifies that the strategy cannot be used with sign\_up\_if\_missing

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "strategy not supported with sign_up_if_missing",
      "long_message": "The <strategy> strategy cannot be used with the sign_up_if_missing option because it cannot be used to sign up a new user.",
      "code": "sign_up_if_missing_strategy_not_supported"
    }
  ]
}
```

### <code><wbr />Sign<wbr />Up<wbr />If<wbr />Missing<wbr />Transfer</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "user not found, transfer to sign up",
      "long_message": "The sign in failed because there is no matching user. Please perform a transfer to sign up.",
      "code": "sign_up_if_missing_transfer"
    }
  ]
}
```

### <code><wbr />Single<wbr />Mode<wbr />Session<wbr />Exists</code>

`SingleModeSessionExists` signifies an error when session already exists but we are in single session mode

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Session already exists",
      "long_message": "You're already signed in.",
      "code": "session_exists"
    }
  ]
}
```

## Sign-in tokens

### <code><wbr />Sign<wbr />In<wbr />Token<wbr />Already<wbr />Used</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "sign in token has already been used",
      "long_message": "This sign in token has already been used. Each token can only be used once.",
      "code": "sign_in_token_already_used_code"
    }
  ]
}
```

### <code><wbr />Sign<wbr />In<wbr />Token<wbr />Can<wbr />Be<wbr />Used<wbr />Only<wbr />In<wbr />Sign<wbr />In</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "not in sign in",
      "long_message": "Sign in tokens can only be used during sign in.",
      "code": "sign_in_token_not_in_sign_in_code"
    }
  ]
}
```

### <code><wbr />Sign<wbr />In<wbr />Token<wbr />Cannot<wbr />Be<wbr />Used</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "sign in token cannot be used",
      "long_message": "This sign in token cannot be used anymore. Please request a new one.",
      "code": "sign_in_token_cannot_be_used_code"
    }
  ]
}
```

### <code><wbr />Sign<wbr />In<wbr />Token<wbr />Revoked</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "sign in token has been revoked",
      "long_message": "This sign in token has been revoked and cannot be used anymore.",
      "code": "sign_in_token_revoked_code"
    }
  ]
}
```

## Sign-up

### <code><wbr />Captcha<wbr />Client<wbr />Side<wbr />Error</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Error loading CAPTCHA",
      "long_message": "The CAPTCHA failed to load. This may be due to an unsupported browser or a browser extension. Please try a different browser or disabling extensions. If this issue persists, please contact support.",
      "code": "captcha_invalid"
    }
  ]
}
```

### <code><wbr />Captcha<wbr />Invalid</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Authentication unsuccessful due to failed security validations.",
      "long_message": "Authentication unsuccessful due to failed security validations. Please try using a different browser or disabling browser extensions. If issues persist, contact support for assistance.",
      "code": "captcha_invalid"
    }
  ]
}
```

### <code><wbr />Captcha<wbr />Missing<wbr />Token</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Authentication unsuccessful due to failed security validations.",
      "long_message": "Authentication unsuccessful due to failed security validations. Please refresh the page to try again or reach out to support for more assistance.",
      "code": "captcha_missing_token"
    }
  ]
}
```

### <code><wbr />Captcha<wbr />Not<wbr />Enabled</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "CAPTCHA not enabled",
      "long_message": "You attempted to complete a CAPTCHA, but they are not enabled. If this issue persists, please contact support.",
      "code": "captcha_not_enabled"
    }
  ]
}
```

### <code><wbr />Sign<wbr />Up<wbr />Email<wbr />Link<wbr />Not<wbr />Same<wbr />Client</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "email link sign up cannot be completed",
      "long_message": "Email link sign up cannot be completed because it originates from a different client",
      "code": "sign_up_email_link_not_same_client"
    }
  ]
}
```

### <code><wbr />Sign<wbr />Up<wbr />Forbidden<wbr />Access</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Sign up forbidden",
      "long_message": "Access to this sign up is forbidden",
      "code": "resource_forbidden"
    }
  ]
}
```

### <code><wbr />Sign<wbr />Up<wbr />Mode<wbr />Restricted</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Sign-ups restricted",
      "long_message": "New sign-ups are currently restricted.",
      "code": "sign_up_mode_restricted"
    }
  ]
}
```

### <code><wbr />Sign<wbr />Up<wbr />Mode<wbr />Restricted<wbr />Waitlist</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Sign-ups restricted with waitlist",
      "long_message": "Sign-ups are currently unavailable. Join the waitlist, and you will be notified when access becomes available.",
      "code": "sign_up_restricted_waitlist"
    }
  ]
}
```

### <code><wbr />Sign<wbr />Up<wbr />Not<wbr />Found</code>

`SignUpNotFound` returns an API error where no sign up could be found with
the requested ID.

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "Sign up not found",
      "long_message": "No sign up was found with id <id>",
      "code": "resource_not_found"
    }
  ]
}
```

### <code><wbr />Sign<wbr />Up<wbr />Outdated<wbr />Verification</code>

filename: Status Code: 410
```json
{
  "errors": [
    {
      "message": "Outdated verification",
      "long_message": "There is a more recent verification pending for this signup. Try attempting the verification again.",
      "code": "sign_up_outdated_verification"
    }
  ]
}
```

## SMS

### <code><wbr />Dev<wbr />Monthly<wbr />S<wbr />M<wbr />S<wbr />Limit<wbr />Exceeded</code>

`DevMonthlySMSLimitExceeded` signifies an error when an SMS sending attempt is made while the development limit has already been reached

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Development monthly SMS limit exceeded",
      "long_message": "Operation cannot be completed because the monthly limit for SMS messages in development (<limit>) has been reached.",
      "code": "dev_monthly_sms_limit_exceeded",
      "meta": {
        "dev_monthly_sms_limit": 0
      }
    }
  ]
}
```

### <code><wbr />S<wbr />M<wbr />S<wbr />Send<wbr />Error</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Sending SMS failed",
      "long_message": "Sending SMS failed. Please contact support or try again later.",
      "code": "sms_send_error"
    }
  ]
}
```

### <code><wbr />S<wbr />M<wbr />S<wbr />Verification<wbr />Not<wbr />Yet<wbr />Sent</code>

`SMSVerificationNotYetSent` signifies that a user attempted to use an SMS verification code before it was delivered.
e.g. by immediately typing in a random or incorrect code after preparing a sign\_in

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "verification code not yet delivered",
      "long_message": "Your verification code is still being delivered. Please check your messages in a moment and try again.",
      "code": "sms_verification_not_yet_sent"
    }
  ]
}
```

### <code><wbr />Whats<wbr />App<wbr />Channel<wbr />Not<wbr />Enabled</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "WhatsApp channel not enabled",
      "long_message": "The 'whatsapp' channel is not available for this instance.",
      "code": "whatsapp_channel_not_enabled",
      "meta": {
        "param_name": "channel"
      }
    }
  ]
}
```

## Ticket

### <code><wbr />Ticket<wbr />Expired</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "ticket has expired",
      "long_message": "This ticket has expired and cannot be used anymore.",
      "code": "ticket_expired_code"
    }
  ]
}
```

### <code><wbr />Ticket<wbr />Invalid</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "ticket is invalid",
      "long_message": "This ticket is invalid. Make sure you're using a valid ticket generated by Clerk.",
      "code": "ticket_invalid_code"
    }
  ]
}
```

## TOTP

### <code><wbr />Invalid<wbr />T<wbr />O<wbr />T<wbr />P<wbr />Secret</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "invalid TOTP secret",
      "long_message": "The TOTP secret is invalid, please provide a valid one base32 encoded",
      "code": "invalid_totp_secret_code"
    }
  ]
}
```

### <code><wbr />T<wbr />O<wbr />T<wbr />P<wbr />Already<wbr />Enabled</code>

`TOTPAlreadyEnabled` signifies an error when a user attempts to enable TOTP, but it's already enabled.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "TOTP already enabled",
      "long_message": "TOTP is already enabled on your account",
      "code": "totp_already_enabled"
    }
  ]
}
```

## Trusted devices

### <code><wbr />Trusted<wbr />Device<wbr />Already<wbr />Enrolled</code>

filename: Status Code: 409
```json
{
  "errors": [
    {
      "message": "trusted device already enrolled",
      "long_message": "A trusted device is already enrolled for this user and app installation.",
      "code": "trusted_device_already_enrolled"
    }
  ]
}
```

### <code><wbr />Trusted<wbr />Device<wbr />App<wbr />Identifier<wbr />Not<wbr />Configured</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "app identifier not configured",
      "long_message": "Trusted device app identifier is not configured for this instance",
      "code": "trusted_device_app_identifier_not_configured"
    }
  ]
}
```

### <code><wbr />Trusted<wbr />Device<wbr />Binding<wbr />Mismatch</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "binding mismatch",
      "long_message": "Trusted device challenge binding mismatch",
      "code": "trusted_device_binding_mismatch",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Trusted<wbr />Device<wbr />Challenge<wbr />Expired</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "challenge expired",
      "long_message": "Trusted device challenge expired",
      "code": "trusted_device_challenge_expired"
    }
  ]
}
```

### <code><wbr />Trusted<wbr />Device<wbr />Challenge<wbr />Not<wbr />Found</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "challenge not found",
      "long_message": "Trusted device challenge not found",
      "code": "trusted_device_challenge_not_found"
    }
  ]
}
```

### <code><wbr />Trusted<wbr />Device<wbr />Credential<wbr />Quota<wbr />Exceeded</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "trusted device credential quota exceeded",
      "long_message": "You have reached your limit of <maxAllowed> trusted devices per account.",
      "code": "trusted_device_credential_quota_exceeded"
    }
  ]
}
```

### <code><wbr />Trusted<wbr />Device<wbr />Invalid<wbr />Client<wbr />Data</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is invalid",
      "long_message": "Invalid trusted device client data",
      "code": "trusted_device_invalid_client_data",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Trusted<wbr />Device<wbr />Invalid<wbr />Public<wbr />Key</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "is invalid",
      "long_message": "Invalid trusted device public key",
      "code": "trusted_device_invalid_public_key",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Trusted<wbr />Device<wbr />Not<wbr />Registered</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "not registered",
      "long_message": "Trusted device is not registered.",
      "code": "trusted_device_not_registered",
      "meta": {
        "param_name": "<param>"
      }
    }
  ]
}
```

### <code><wbr />Trusted<wbr />Device<wbr />Signature<wbr />Verification<wbr />Failed</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "signature verification failed",
      "long_message": "Trusted device signature verification failed",
      "code": "trusted_device_signature_verification_failed"
    }
  ]
}
```

## URLs

### <code><wbr />Insecure<wbr />U<wbr />R<wbr />L</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Insecure URL",
      "long_message": "Please provide a secure URL (https)",
      "code": "insecure_url",
      "meta": {
        "param_name": "<paramName>"
      }
    }
  ]
}
```

### <code><wbr />Invalid<wbr />U<wbr />R<wbr />L<wbr />Scheme</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Invalid URL scheme",
      "long_message": "Please provide a URL with one of the following schemes: <schemes>",
      "code": "invalid_url_scheme",
      "meta": {
        "param_name": "<paramName>"
      }
    }
  ]
}
```

### <code><wbr />Redirect<wbr />U<wbr />R<wbr />L<wbr />Too<wbr />Long</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "RedirectURL too long",
      "long_message": "Provided RedirectURL must be shorter than <MaxRedirectURLLength> characters",
      "code": "redirect_url_too_long"
    }
  ]
}
```

## User lockout

### <code><wbr />User<wbr />Locked</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Account locked",
      "long_message": "Your account is locked. You will be able to try again in <timeRemaining>. For more information, please contact <support>.",
      "code": "user_locked",
      "meta": {
        "lockout_expires_in_seconds": 0
      }
    }
  ]
}
```

### <code><wbr />User<wbr />Locked<wbr />Indefinitely</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Account locked",
      "long_message": "Your account is locked. For more information, please contact <support>.",
      "code": "user_locked"
    }
  ]
}
```

## User settings

### <code><wbr />Resource<wbr />Forbidden</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "forbidden",
      "long_message": "Resource forbidden",
      "code": "resource_forbidden"
    }
  ]
}
```

### <code><wbr />Resource<wbr />Not<wbr />Found</code>

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "not found",
      "long_message": "Resource not found",
      "code": "resource_not_found"
    }
  ]
}
```

## Users

### <code><wbr />Delete<wbr />Linked<wbr />Comm<wbr />Not<wbr />Allowed</code>

`DeleteLinkedCommNotAllowed` signifies an error when trying to delete a linked communication

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "Deleting a linked email address is not allowed",
      "long_message": "This email address is linked to one or more Connected Accounts. Remove the Connected Account before deleting this email address.",
      "code": "delete_linked_identification_disallowed"
    }
  ]
}
```

### <code><wbr />No<wbr />Password<wbr />Set</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "no password set",
      "long_message": "This user does not have a password set for their account",
      "code": "no_password_set"
    }
  ]
}
```

### <code><wbr />Password<wbr />Required</code>

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "password required",
      "long_message": "Settings for this instance require a password to be set. Cannot remove the user's password.",
      "code": "password_required"
    }
  ]
}
```

### <code><wbr />Password<wbr />Reset<wbr />Required</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "password reset required",
      "long_message": "This account requires a password reset before sign-in can continue. Please reset your password or contact support.",
      "code": "password_reset_required"
    }
  ]
}
```

### <code><wbr />Password<wbr />Too<wbr />Long<wbr />Needs<wbr />Reset</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "imported password too long and needs reset",
      "long_message": "The existing imported password is too long and cannot be used, please reset your password.",
      "code": "password_too_long_needs_reset"
    }
  ]
}
```

### <code><wbr />Updating<wbr />User<wbr />Password<wbr />Deprecated</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "deprecated feature",
      "long_message": "Password is not a valid parameter and can only be updated via /v1/me/change_password",
      "code": "updating_user_password_deprecated"
    }
  ]
}
```

### <code><wbr />User<wbr />Banned</code>

`UserBanned` signifies an error when a user is banned

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "User banned",
      "long_message": "You have been banned. If you think this was by mistake, please contact support.",
      "code": "user_banned"
    }
  ]
}
```

### <code><wbr />User<wbr />Create<wbr />Org<wbr />Not<wbr />Enabled</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "create organization not enabled",
      "long_message": "Organization creation is not enabled for this user",
      "code": "user_create_organization_not_enabled"
    }
  ]
}
```

### <code><wbr />User<wbr />Deactivated</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "User deactivated",
      "long_message": "You have been deactivated. Please contact support.",
      "code": "user_deactivated"
    }
  ]
}
```

### <code><wbr />User<wbr />Delete<wbr />Self<wbr />Not<wbr />Enabled</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "delete self not enabled",
      "long_message": "Self deletion is not enabled for this user",
      "code": "user_delete_self_not_enabled"
    }
  ]
}
```

### <code><wbr />User<wbr />First<wbr />Name<wbr />Invalid</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "invalid first name",
      "long_message": "The first name \"<value>\" is invalid: <reason>",
      "code": "form_param_value_invalid",
      "meta": {
        "param_name": "<paramName>"
      }
    }
  ]
}
```

### <code><wbr />User<wbr />Last<wbr />Name<wbr />Invalid</code>

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "invalid last name",
      "long_message": "The last name \"<value>\" is invalid: <reason>",
      "code": "form_param_value_invalid",
      "meta": {
        "param_name": "<paramName>"
      }
    }
  ]
}
```

### <code><wbr />User<wbr />Not<wbr />Found</code>

`UserNotFound` signifies an error when no user is found with the given ID

filename: Status Code: 404
```json
{
  "errors": [
    {
      "message": "not found",
      "long_message": "No user was found with id <userID>",
      "code": "resource_not_found"
    }
  ]
}
```

### <code><wbr />User<wbr />Quota<wbr />Exceeded</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "user quota exceeded",
      "long_message": "You have reached your limit of <maxAllowed> users. <resolution>",
      "code": "user_quota_exceeded"
    }
  ]
}
```

### <code><wbr />User<wbr />S<wbr />C<wbr />I<wbr />M<wbr />Managed</code>

filename: Status Code: 409
```json
{
  "errors": [
    {
      "message": "user managed by directory sync",
      "long_message": "This user is managed by a directory and cannot be deleted manually.",
      "code": "user_managed_by_scim"
    }
  ]
}
```

## Verification

### <code><wbr />Verification<wbr />Already<wbr />Verified</code>

`VerificationAlreadyVerified` signifies an error when verification has already been verified

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "already verified",
      "long_message": "This verification has already been verified.",
      "code": "verification_already_verified"
    }
  ]
}
```

### <code><wbr />Verification<wbr />Code<wbr />Not<wbr />Sent</code>

`VerificationCodeNotSent` is an attempt against a verification whose code
never went out: the send failed after the prepare had already returned. Tell
the user to request a new code rather than that theirs is incorrect.

filename: Status Code: 422
```json
{
  "errors": [
    {
      "message": "Verification code was not sent",
      "long_message": "We could not send a verification code for this request. Please request a new code.",
      "code": "verification_code_not_sent"
    }
  ]
}
```

### <code><wbr />Verification<wbr />Code<wbr />Rate<wbr />Limit<wbr />Exceeded</code>

filename: Status Code: 429
```json
{
  "errors": [
    {
      "message": "Too many verification code requests",
      "long_message": "Too many verification code requests. Please try again later.",
      "code": "verification_code_rate_limit_exceeded"
    }
  ]
}
```

### <code><wbr />Verification<wbr />Code<wbr />Too<wbr />Many<wbr />Attempts</code>

`VerificationCodeTooManyAttempts` is the SMS provider declining to check the
code; no attempt was counted. The wait travels in Retry-After.

filename: Status Code: 429
```json
{
  "errors": [
    {
      "message": "Too many verification attempts",
      "long_message": "Too many attempts to verify this code. Please wait before trying again.",
      "code": "verification_code_too_many_attempts"
    }
  ]
}
```

### <code><wbr />Verification<wbr />Code<wbr />Too<wbr />Many<wbr />Requests</code>

filename: Status Code: 429
```json
{
  "errors": [
    {
      "message": "Too many verification code requests",
      "long_message": "Too many verification code requests. Please wait at least 30 seconds to receive your code before trying again.",
      "code": "verification_code_too_many_requests"
    }
  ]
}
```

### <code><wbr />Verification<wbr />Expired</code>

`VerificationExpired` signifies an error when verification has expired

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "expired",
      "long_message": "This verification has expired. You must create a new one.",
      "code": "verification_expired"
    }
  ]
}
```

### <code><wbr />Verification<wbr />Failed</code>

`VerificationFailed` signifies an error when verification fails

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "failed",
      "long_message": "Too many failed attempts. You have to try again with the same or another method.",
      "code": "verification_failed"
    }
  ]
}
```

### <code><wbr />Verification<wbr />Invalid<wbr />Link<wbr />Token</code>

`VerificationInvalidLinkToken` means that the provided JWT token from the
link cannot be parsed.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "invalid link token",
      "long_message": "Verification link token is invalid",
      "code": "verification_link_token_invalid"
    }
  ]
}
```

### <code><wbr />Verification<wbr />Invalid<wbr />Link<wbr />Token<wbr />Source</code>

`VerificationInvalidLinkTokenSource` means that the provided JWT token from
the link has an invalid source type.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "invalid link token source",
      "long_message": "Verification link token source is invalid",
      "code": "verification_link_token_source_invalid"
    }
  ]
}
```

### <code><wbr />Verification<wbr />Invalid<wbr />Strategy</code>

`VerificationInvalidStrategy` signifies an error when the given strategy is not valid for current verification

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "has invalid strategy",
      "long_message": "The strategy is not valid for the current verification.",
      "code": "verification_strategy_invalid"
    }
  ]
}
```

### <code><wbr />Verification<wbr />Link<wbr />Token<wbr />Expired</code>

`VerificationLinkTokenExpired` means that the provided JWT token from the
link has expired.

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "expired link token",
      "long_message": "Verification link token has expired",
      "code": "verification_link_token_expired"
    }
  ]
}
```

### <code><wbr />Verification<wbr />Link<wbr />Token<wbr />Stale</code>

`VerificationLinkTokenStale` means that the verification link token references
a verification that is no longer current (e.g. the user requested a new
verification after this link was sent).

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "stale link token",
      "long_message": "Verification link token is no longer valid. Please request a new one.",
      "code": "verification_link_token_stale"
    }
  ]
}
```

### <code><wbr />Verification<wbr />Missing</code>

`VerificationMissing` signifies an error when the verification is missing

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "is missing",
      "long_message": "This strategy requires verification preparation before attempting to validate it.",
      "code": "verification_missing"
    }
  ]
}
```

### <code><wbr />Verification<wbr />Not<wbr />Sent</code>

`VerificationNotSent` signifies an error when verification email was not sent

filename: Status Code: 400
```json
{
  "errors": [
    {
      "message": "not sent",
      "long_message": "You need to send a verification code before attempting to verify.",
      "code": "verification_not_sent"
    }
  ]
}
```

### <code><wbr />Verification<wbr />Unknown<wbr />Status</code>

`VerificationUnknownStatus` signifies an unexpected error when unknown verification status is found

filename: Status Code: 500
```json
{
  "errors": [
    {
      "message": "Unknown verification status",
      "long_message": "Found unknown verification status <status>",
      "code": "verification_status_unknown"
    }
  ]
}
```

## Waitlist

### <code><wbr />Waitlist<wbr />Not<wbr />Accepting<wbr />Entries</code>

filename: Status Code: 403
```json
{
  "errors": [
    {
      "message": "Waitlist not accepting entries",
      "long_message": "The waitlist is not accepting new entries at this time. Please try again later.",
      "code": "waitlist_not_accepting_entries"
    }
  ]
}
```

---

## Sitemap

[Overview of all docs pages](https://clerk.com/docs/llms.txt)
