Server SDKs - Error handling
Authsignal Server SDKs can return errors for a variety of reasons, such as invalid requests or network interruptions, which should be handled accordingly.
Error fields
The HTTP status code returned by the Authsignal Server API.
A code which identifies a specific error state.
A free-text description of the error. This value should only be used for logging or troubleshooting purposes.
Error codes
Indicates that the request cannot be handled because the tenant is in an invalid configuration.
Indicates that the credential (e.g. passkey) referenced by the request is invalid for the given user and cannot be authenticated.
Indicates that the request failed due to an invalid parameter or input.
Indicates that the server cannot respond as requests have been rate-limited due to exceeding a threshold.
Indicates that the request is unauthorized due to invalid tenant credentials - for example if the API secret key is invalid or if the region doesn’t match.