Skip to content

ErrorCode

Enumeration Members

NotInitialized

• NotInitialized = "not_initialized"

Either the SDK init call failed or another function was called before initializing the SDK


AuthenticationFailed

• AuthenticationFailed = "authentication_failed"

When the call to startAuthentication failed


AuthenticationAbortedTimeout

• AuthenticationAbortedTimeout = "authentication_aborted_timeout"

When authenticate.modal or authenticate.autofill.activate is called and the modal is closed by the user


AuthenticationCanceled

• AuthenticationCanceled = "webauthn_authentication_canceled"

When register is called and the modal is closed when reaching the timeout


RegistrationFailed

• RegistrationFailed = "registration_failed"

When the call to startRegistration failed


AlreadyRegistered

• AlreadyRegistered = "username_already_registered"

When the user attempted to register an authenticator that contains one of the credentials already registered with the relying party.


RegistrationAbortedTimeout

• RegistrationAbortedTimeout = "registration_aborted_timeout"

When register is called and the modal is closed by the user


RegistrationCanceled

• RegistrationCanceled = "webauthn_registration_canceled"

When register is called and the modal is closed when reaching the timeout


AutofillAuthenticationAborted

• AutofillAuthenticationAborted = "autofill_authentication_aborted"

Passkey autofill authentication was aborted by abort


AuthenticationProcessAlreadyActive

• AuthenticationProcessAlreadyActive = "authentication_process_already_active"

Passkey authentication is already active. To start a new authentication, abort the current one first by calling abort


InvalidApprovalData

• InvalidApprovalData = "invalid_approval_data"

The ApprovalData parameter was sent in the wrong format


FailedToInitCrossDeviceSession

• FailedToInitCrossDeviceSession = "cross_device_init_failed"

When the call to initCrossDeviceAuthentication failed


FailedToGetCrossDeviceStatus

• FailedToGetCrossDeviceStatus = "cross_device_status_failed"

When the call to getCrossDeviceTicketStatus failed


Unknown

• Unknown = "unknown"

When the SDK operation fails on an unhandled error