Share feedback, ideas and get community help

Updated 3 months ago

Webhook error

I am unable to configure the webhook in the integration with Whtsapp.
I'm hosting at Vercel Hobby.
Here is the error that appears in Meta Developers:

Plain Text
Callback verification failed with the following errors: curl_errno = 28; curl_error = Operation timed out after 6002 milliseconds with 0 bytes received; HTTP Status Code = 200; HTTP Message = Connection established


In Vercel logs: 504 Gateway Timeout

What could be causing this?
F
W
B
28 comments
i also have this if i find an error i will check
i found the error
it just needed the serverless function to be near me and also the server less function must be the same in both the builder and viewer @Wesley
just restart the viewer
its kind of like a one time use
@FzinaHaMed Sorry for my ignorance, but which serverless are you referring to?
the function setting in vercel
Got it, @FzinaHaMed ! I'll test it now and get back to you if it works.
@FzinaHaMed, with my database region being South America (São Paulo) (sa-east-1)(in Supabase), I also changed Vercel to São Paulo, Brazil (East). I redeployed but the error persists.
i see it worked for me just for a second
then it stopped working
@Vilela™ did you have any error like this using vercel?
I redid everything. I allocated everyone in the USA (as close as I could), but the error continues.
What URL are you inserting in Meta?
I use the URL made available by Vercel. I do the WhatsApp configuration steps in the typebot, it generates webhook URL and token for me to enter in the Meta.
Can you provide a screenshot of the error?
And on Vercel?
Is the URL ends like this? /v1/workspaces/{workspaceId}/whatsapp/{credentialsId}/webhook
No it is like this /api/v1/workspaces/{workspaceId}/whatsapp/{credentialsId}/webhook
Right, it should also start with /api
It works for me now
I just added all env variables
And then restarted it
After that I added the encryption key instead of the other one which is generated
Lastly just added it normally like with the generated info
Add a reply
Sign up and join the conversation on Discord