Why does my Facebook Webhook Subscription Verification timeout on my ngrok URL?
Digital Marketing
Facebook Marketing API
2 years ago
5
Star Rating
1
Rating
_x000D_
_x000D_
I've been using ngrok for several weeks while building the first version of my Web Server so that I can send it test Webhooks from a Facebook App.
Until today, I could always just update my Webhooks subscriptions with the new auto-generated ngrok URL just fine. But today, when I try to verify my ngrok URL with my Facebook App's Webhooks, I do NOT get an indication from my server that it ever received a GET request, I keep getting the timeout message:
The URL couldn't be validated. Callback verification failed with the
following errors: curl_errno = 28; curl_error = Operation timed out
after 6001 milliseconds with 0 out of 0 bytes received; HTTP Message =
Unknown Response Code
However, when I use Postman to hit the same ngrok URL, everything works fine - I can see that I'm getting back the challenge string and my server indicates that it received the GET request and responded with a 200 code. I haven't changed the logic of the verification endpoint in my server since I last used the Facebook Webhooks (yesterday).
Graph API version is 2.9. I made sure I was using the HTTPS URL ngrok provides, as I have been doing.
Posted on 16 Aug 2022, this text provides information on Facebook Marketing API related to Digital Marketing. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.
Take Quiz To Earn Credits!
Turn Your Knowledge into Earnings.