Skip to main content

Passkey

public struct Passkey

  • Utility to manage Passkey error codes and messages.

Error Codes​

The table below lists license error codes and messages.

KeyCodeMessage
iOS_16_REQUIRED300001Passkeys are supported on iOS 16 and above. Please update your device to use this feature.
USERNAME_EMPTY300002Username cannot be empty.
DISPLAY_NAME_EMPTY300003Display name cannot be empty.
ATTESTATION_OPTIONS_FAILED300004Passkey attestation options failed.
ATTESTATION_RESULT_FAILED300005Passkey attestation result failed.
PASSKEY_REGISTRATION_FAILED300006Passkey registration failed.
CANCELED300007User cancelled the operation.
INVALID300008Unable to create credential.
INVALID_SIGNING300009Unable to sign challenge.
UNSUPPORTED_CREDENTIAL_TYPE300010Unsupported credential type returned by Credential Manager. Add handling for {error from os}
ASSERTION_OPTIONS_FAILED300011Passkey assertion options failed.
ASSERTION_RESULT_FAILED300012Passkey assertion result failed.
UNHANDLED_CREDENTIAL_TYPE300013The authorization request wasn’t handled.
NOT_INTERACTIVE300014Unable to create credential.
MATCHED_EXCLUDED_CREDENTIAL300015At least one credential matches an entry of the excludeCredentials list in the platform attached authenticator.
LINKING_FAILED300016Passkey linking failed
FETCH_WALLET_FAILED300017Passkey wallet fetching failed.
PASSKEY_AUTHENTICATION_FAILED300018Passkey authentication failed.