Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twilio Verify Phone Signup - Error sending confirmation sms: Invalid parameter 'To' #543

Open
JeremyBrent opened this issue Jul 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JeremyBrent
Copy link

JeremyBrent commented Jul 7, 2024

Bug report

Describe the bug

Using Twilio Verify for SMS Phone User Signup produces the error
User signup AuthApiError error status: 422, message: Error sending confirmation sms: Invalid parameter 'To': +{number} More information: https://www.twilio.com/docs/errors/60200

To Reproduce

resp = await supabase.auth.sign_up(
            credentials={'phone': f'+{user.phone}' if '+' not in user.phone else user.phone,
                         'password': user.password,
                         'options': {
                             'data': {
                                 'first_name': user.first_name,
                                 'last_name': user.last_name},
                             'channel': 'sms'
                             }
                         })

System information

  • Running FastAPI (0.110.0) Server on Localhost (Mac Sonoma 14.5)
  • Supabase Version (2.4.0)
@JeremyBrent JeremyBrent added the bug Something isn't working label Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant