Skip to main content
Mobile SDK methods can return the following fields when encountering an error.
string
A description of the error. This value should only be used for logging or troubleshooting purposes.
string
A code which identifies a specific error state. This value can be used to drive application logic such as handling when a passkey is not available on the device.

Error codes

Indicates that an error occurred when making a network request to the Authsignal API. This will occur if the device has no network connection.
Indicates that the Authsignal token has expired. This will occur if more than 10 minutes has elapsed since it was generated by tracking an action or since a previous challenge was completed.
Indicates that no Authsignal has been set to authorize the operation. Learn more about setting a token.
Indicates that the user dismissed the passkey sign-in prompt. On iOS this may also indicate that the user has no passkey credential available on the device.
Android only. Indicates that the user has no passkey credential available on the device.
Indicates that an error occurred when creating a passkey because Authsignal has a record of an existing passkey credential and the platform has determined that it is available on the user’s device. This error will be ignored if ignorePasskeyAlreadyExistsError is set to true when creating a passkey.