I plan to have an express application which would be listening to changes on columns before performing a set function.
The Express Application is well hosted on Monday’s server side code. I tried sending a dummy request from my postman to the provided url after deployment and got expected results(logs from Monday’s UI confirmed the setup is fine)ISSUE
I am getting the error “The provided URL has not returned the requested challenge.“ when I try setting up a webhook automation using the endpoint url provided after deployment.
Just an update on this - Monday expected the same challenge it sent to my endpoint returned - I refactored my code to match the exact request which Monday was sending.
sample format request and response
Request
{
"challenge": "3eZbrw1aBm2rZgRNFdxV2595E9CY3gmdAXXXXXXXXXXXXXXXX"
}
Response
{
"challenge": "3eZbrw1aBm2rZgRNFdxV2595E9CY3gmdAXXXXXXXXXXXXXXXX"
}
Hello @brian.maina
This one usually comes down to the webhook “challenge” handshake being super strict.
A couple quick things to double check in your Express endpoint:
Make sure you’re returning HTTP 200 and JSON with the exact same challenge value
Make sure you’re reading it from the correct place. monday typically sends it in the request body, so you’ll want app.use(express.json()) enabled before your route
Also confirm you’re not accidentally returning extra fields, wrapping it, or sending it as plain text
If you’d like hands-on help or want us to walk through this live, you can book a 1:1 paid 60-minute strategy session with our team here:
Calendly
Thank you Dr. Tanvi, managed to resolve by refactoring my code to revert with the expected response.