Skip to Content
Menu
This question has been flagged
2 Replies
2022 Views

I am trying to enable a webhook on Odoo SaaS. But while I am trying to send a POST request using POSTMAN. I am getting ERROR 500. 


Any help?

Avatar
Discard
Best Answer

Hi,
Enable logging for webhook and see the logs for more information.

See:  Create a New Record Using Webhook in Odoo 17

Thanks

Avatar
Discard
Best Answer

The automated action might be throwing an error. Add a try-except on the code and send another request. You should get an "ok" as response.

You can also test it with an empty automated action. In the webhook "Target Record" field, you can use: model.search([],limit=1)

Avatar
Discard
Related Posts Replies Views Activity
2
Jul 24
3433
2
Aug 23
22319
1
Dec 22
3938
0
Jul 20
3320
2
Mar 19
7894