Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
1634 Переглядів

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
2905
2
серп. 23
21667
1
груд. 22
3443
0
лип. 20
2903
2
бер. 19
6886