Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs-staging.auth0-mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Use the error codes to display informative messages and to distinguish between recoverable and unrecoverable errors.
Error CodeDescription
invalid_tokenInvalid request or transaction token
insufficient_scopeYou don’t have enought grants to perform the requested operation
invalid_bearer_formatThe bearer put in authentication header was not valid
enrollment_conflictThere is another enrollment for the same user. You cannot enroll twice.
tenant_not_foundThe tenant associated cannot be found. Should not normally happen at least that you delete the tenant
login_transaction_not_foundThe mfa auth transaction is not active or has already expired
error_sending_push_notificationPush notification delivery failed
push_notification_wrong_credentialsPush notification delivery failed because of wrong credentials
invalid_otpProvided otp code was not valid
invalid_recovery_codeProvided recovery code was not valid
invalid_bodyBody validation failed. Bad request.
invalid_query_stringQuery string validation failed. Bad request.
enrollment_transaction_not_foundThe mfa enrollment transaction is not active or has expired
invalid_phone_numberThe provided phone number is invalid
error_sending_smsSMS Delivery error
feature_disabledThe requested feature is currently globally not available (contact the provider)
feature_disabled_by_adminThe requested feature is currently disabled by your admin
pn_endpoint_disabledWe were unable to deliver the push notification after retrying many times. Try removing you account for the device and adding it again.
too_many_smsYou have exeed the amount of SMSs assigned to your user
too_many_pnYou have exeed the amount of push notifications assigned to your user
too_many_sms_per_tenantYou have exeed the amount of SMSs assigned to your tenant
too_many_pn_per_tenantYou have exeed the amount of push notifications assigned to your tenant
field_requiredA field is required to perform the operation (this errors has a field attribute with a code for the field: otpCode, recoveryCode)
method_not_foundYou have requested a method that is currently not supported (should not happen)
no_method_availableThere is currently no method to enroll (all of them are disabled)
enrollment_method_disabledThe specified enrollment method is disabled, this error has also a .method field
auth_method_disabledThe specified authentication method is disabled, this error has also a .method field
invalid_otp_formatOTP format validation error
invalid_recovery_code_formatRecovery code format validation error
transaction_expiredThe transaction has already expired
already_enrolledYou are already enrolled, cannot enroll again
not_enrolledYou not enrolled. Must enroll first
invalid_enrollmentThe enrollment provided to transaction#requestAuth method is not valid or is null/undefined