跳至内容
菜单
此问题已终结
2 回复
1467 查看

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?

形象
丢弃
最佳答案

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

See:  Create a New Record Using Webhook in Odoo 17

Thanks

形象
丢弃
最佳答案

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)

形象
丢弃
相关帖文 回复 查看 活动
2
7月 24
2815
2
8月 23
21535
1
12月 22
3305
0
7月 20
2800
2
3月 19
6679