In order to validate the request, the raw body (original string) of the request is required to do the signature verification.
If you are using a middleware, make sure you aren't consuming the request body before the API can access it.
Otherwise, feel free to open an issue on GitHub.
Thrown when the request body is missing
Description
In order to validate the request, the raw body (original string) of the request is required to do the signature verification.
If you are using a middleware, make sure you aren't consuming the request body before the API can access it. Otherwise, feel free to open an issue on GitHub.
Example
See
https://whatsappapijs.web.app/classes/WhatsAppAPI.WhatsAppAPI.html#post