跳至內容
選單
此問題已被標幟
2 回覆
1519 瀏覽次數

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
2876
2
8月 23
21582
1
12月 22
3343
0
7月 20
2857
2
3月 19
6793