[Internal] What is result code 56? [Internal] What is result code 56?

[Internal] What is result code 56?

Paul Bird

Question

Why do I get error code 56?

How can I handle code 56?

Context

Using the Verify-IOS SDK to Verify a number that was previously Verified.

'result_code': 56

'result_message': 'User Verified with another phone number - we will re-Verify'

Answer

This code is simply informative and you will receive it if you are Verifying a user with the same device. We consider 'user' a unique combination of (Phone number + Device ID + App ID). Therefore, if your requests are being sent using different phone numbers, but from the same device and application used in previous Verifications, Nexmo will always return a result code 56.