Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
1446 Tampilan

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
Buang
Jawaban Terbai

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

See:  Create a New Record Using Webhook in Odoo 17

Thanks

Avatar
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
2
Jul 24
2803
2
Agu 23
21518
1
Des 22
3295
0
Jul 20
2791
2
Mar 19
6659