Closed HesselWellema closed 1 year ago
The sample works fine. Should have tried that first An analysis of my own botcode showed that the problem was a line of code: server.use(require('body-parser').json() Since I am using restify I am not sure why it is there in the first place.
Hi,
I am struggling getting the adapter to work properly. The validation of the request keeps failing resulting in the errormessage above
For the endpointUrl parameter I use is the one from my chatbot: https://mybot.azurewebsites.net/api/whatsapp/messages
for the phoneNumber parameter I tried multiple formats without succes: whatsapp:+1XXXXXXXXXX whatsapp:1XXXXXXXXXX +1XXXXXXXXXX 1XXXXXXXXXX
I checked the source of this adapter and there are two possible causes:
I would appreciate some guidance. Otherwise I will need to figure our a way to debug this module tnx