Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
1672 Visninger

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
Kassér
Bedste svar

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

See:  Create a New Record Using Webhook in Odoo 17

Thanks

Avatar
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
2
jul. 24
2949
2
aug. 23
21735
1
dec. 22
3489
0
jul. 20
2983
2
mar. 19
6938