I am encountering an issue while testing Webhook integration. Despite following the related documentation, I am unable to successfully create a webhook.
To facilitate local testing, I am using ngrok. I have set up a path to receive payloads from the webhook and configured it to return the x_front_challenge, 200, {"Content-Type": "text/plain"} as suggested in the documentation. However, I still receive a "Webhook verification failed" error.
Here is the relevant portion of my code:
![](https://uploads-us-west-2.insided.com/front-en/attachment/eed0a196-72bf-468e-ad81-83aef9b31bd3.png)
I am not encountering any errors within the function itself, so I suspect the issue may be related to the return statement. Any assistance in resolving this would be greatly appreciated.
(I am working on Odoo/Python btw)
Thank you.