Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
1430 Zobrazení

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
Zrušit
Nejlepší odpověď

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

See:  Create a New Record Using Webhook in Odoo 17

Thanks

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
čvc 24
2774
2
srp 23
21489
1
pro 22
3243
0
čvc 20
2751
2
bře 19
6618