Are you able to help with this Whatsapp API ? I’ve been stuck for 3 days now
What I’m trying to achieve: initialize my whatsapp api call “sendwhatsappmessage”
What is wrong: I’m always getting this error message Status code 400 {“error”:{“message”:“(#100) Invalid parameter”,“type”:“OAuthException”,“code”:100,“error_data”:{“messaging_product”:“whatsapp”,“details”:“Parameter name is missing or empty”},“fbtrace_id”:“AOdQ7oZqttBbWFHKVbSkhTL”}}
My whatsapp template has been approved, cfr. screenshots attached.
I’m using the Access Token and Phone number ID from API Set up in Meta App Dashboard.
I don’t understand why can be wrong here. If someone has the answer, I’d be so grateful!
One thing I noticed right away was that you’re not providing the parameter names inside your body, just the type and value. Parameters are usually composed of name, type and value… There seems to be something wrong with the way you are sending these parameters.
Can you share the link of the documentation of this endpoint?
@rpetribu from what I see in documentation, this is how it work! no parameters name. Seem that whatsapp just fill parameters in order.
What I’m wondering now is if you need to provide all parameters to make it work. Actually, screenshot show you are providing 3 but the template have 5…
Thanks all for chipping in. So I could resolve the situation only by changing from name variables to number variables. I could never understand why name variables don’t work or how to use them and chatgpt seems confused about it. Number variables work and there isn’t any apparent upside from using name variables. So there is my recommendation for anyone setting this up in the future