-
Notifications
You must be signed in to change notification settings - Fork 711
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 authentication always fails #715
Comments
Hi @charan678 this is the guide I have been following. I have also double checked to ensure the Twilio webhook URL starts with I tried to run test_url() but unfortunately all returned with a response code 404. |
hello @hklchung It's working for me. Following are the steps followed by me
Technical Detailstwilio-python = 8.1.0 refer:How to Use Ngrok to Send Automatic Textback SMS Using POST & GET API Requests |
Thanks @charan678, your answer provided me new direction to test in a more granular level. I found a working solution. The webhook on the Twilio console must first be set to Would you know why this change is required, considering the webhook URL set in the console is |
Please check out my solution that I introduced issues, This was super frustrating in having to debug |
Issue Summary
I am developing a Python (Flask) voice app on a local machine and using Ngrok tunnel to allow Twilio access the app via a webhook (all set up according to the Twilio guide). I need to add a step to check the requests are coming from Twilio and am using the RequestValidator from the Twilio Python SDK. However, this step always returns false, but should be true as I am the one initiating the request during testing.
Steps to Reproduce
Code Snippet
In your Python Flask test voice application, set up a /call app route, then inside the call() test the following
Technical details:
The text was updated successfully, but these errors were encountered: