bottender: Failed WhatsApp Signature Validation

Hey there! Thank you for this great project! Unfortunalety I’m having trouble connecting twilio (live credentials) to my whatsapp webhook (other webhooks work great)… Twilio is trowing an “11200” errorCode containing this body:

{ "error": { "message": "WhatsApp Signature Validation Failed!", "request": { "rawBody": "xxx", "headers": { "x-twilio-signature": "xxxLzNwapQY4rGkb+mVFYO2I2jI=" } } } }

Any help would would be appreciated!

About this issue

Most upvoted comments

How about adding $request_uri in your nginx config proxy_pass part? http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass 圖片

It’s already inside a location block:

location /api/ { proxy_pass http://nodejs:3000;

So I’m relatively sure I don’t need the $request_uri in here, or do I?

How about adding $request_uri in your nginx config proxy_pass part? http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass 圖片