Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
1985 มุมมอง

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)

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ค. 24
3361
2
ส.ค. 23
22234
1
ธ.ค. 22
3895
0
ก.ค. 20
3282
2
มี.ค. 19
7772