Twilio Verify VerificationCheck is out of date
Problem
Issue Summary Calling the following code example present in the Verification docs results in an exception- Code Snippet [code block] Exception/Log [code block] The phone is getting SMS with verification code. Moreover, its verified when checked in the logs on Twilio console, after calling the above function. But this exception makes it impossible for the application to know if the verification succeed or not. Steps to Reproduce 1. Call the verifications.create() method with required parameters to send SMS with code. 2. verificationChecks.create() method with previous phone number and correct code. Technical details: twilio-node version: 3.75.0 node version: 14.17.1
Error Output
error: any) => console.log(error));
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Twilio Verify VerificationCheck is out of date
Hi @amrit-citrusleaf! In your sample code snippet it looks like you are missing a value for `code`. Code is the 4-10 character string being verified. For more information please checkout Twilio's documentation. [code block]`
Trust Score
1 verification
- 1
Hi @amrit-citrusleaf!
In your sample code snippet it looks like you are missing a value for `code`. Code is the 4-10 character string being verified. For more information please checkout Twilio's documentation. [code block]`
Validation
Resolved in twilio/twilio-node GitHub issue #743. Community reactions: 0 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep