Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why I can't configure whatsapp's webhook in Whatsapp cloud API

Tags:

whatsapp

Anyone know why I keep getting this:

"The callback URL or verify token couldn't be validated. Please verify the provided information or try again later."

Things I checked:

  1. App URL is well formed
  2. App response is 200 and challenge
  3. App has a valid TLS certificate

I don't know how to troubleshoot the error

like image 261
Rod Ramírez Avatar asked Dec 13 '25 11:12

Rod Ramírez


1 Answers

It took me an aweful amount of time to figure out this, so that's why I'm putting this in internet for future folks like me.

If you keep getting: "The callback URL or verify token couldn't be validated. Please verify the provided information or try again later."

and there is no much information to troubleshoot this, you can go to:

enter image description here

enter image description here

Hit subscribe to this object, try your URL that is not working, and on failure it would show a tiny red asterisc that contains more information about why that URL isn't good enough for verification when hover with the cursor. I don't know why meta developers didn't put that description in the whatsapp webhook configuration but it is what it is.

In my case, as I didn't created the GET endpoints using express (JS) but .net (C#) I had to parse the challenge to int before returning it, hope it helps!

like image 181
Rod Ramírez Avatar answered Dec 15 '25 23:12

Rod Ramírez



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!