Skip the 2-4 week wait for carrier approvals and get directly to testing SNA with your own mobile number using the new Live Test Number feature.
Skip the 2-4 week wait for carrier approvals and get directly to testing SNA with your own mobile number using the new Live Test Number feature.
You can check for errors by calling the Verification Check API and inspecting the response property sna_attempts_error_codes
. Silent Network Auth (SNA) specific error codes always begin with 605xx.
In general, you can failover to SMS or another Verification channel for all error codes. The exception to this is error code 60540, which indicates that the phone number is invalid and an SMS Verification would also fail. We don't recommend writing specific handling logic for each error code beyond falling back to another Verification channel because error codes may be added or changed over time.
Besides 605xx error codes, there are also client error codes. After the SNA URL is received from a Start New Verification API call, it must be invoked from the client with a GET
or POST
request. You will receive an HTTP 200 OK
as a response (assuming no other issues) and a client error code value.
Example:
ErrorCode=0&ErrorDescription=Success&Carrier=VZW
ErrorCode | Description | Possible Causes | Possible Solutions |
---|---|---|---|
0 | Success. The carrier was able to determine whether or not the provided phone number matched the detected phone number. | Everything worked correctly. | Make a Verification Check call to find out whether the provided phone number was a match or mismatch. |
-10 | Failure. There was an issue that prevented the carrier from being able to determine whether or not the provided phone number matched the detected phone number. | A variety of reasons could have caused this error. | Make a Verification Check call to view more specific error codes listed in the response property if supported by the country/carrier: sna_attempts_error_codes Fallback to a different Verification channel (e.g. SMS). |
-40 | Failure. SNA Carrier identified an invalid phone number. This -40 code is equivalent to the 60540 error code. | See 60540 possible causes. This error code is currently only returned for Indonesian numbers. | Make a Verification Check call to confirm that a 60540 error occurred. See 60540 possible solutions. |
These error codes can be useful during testing, but it isn't necessary to use them in production because you can't use them to make decisions about whether the user is successfully verified or not. You still need to make a subsequent server-to-server Verification Check call for the following reasons:
We understand that you may want to immediately failover to a different Verification channel, such as SMS, when a non-0 error code is returned or when no response is received within 4 seconds of SNA URL invocation in order to not incur the additional latency of calling the Verification Check API and waiting for a response before failing-over. That's fine, but we recommend still calling Verification Check in parallel for two reasons: