Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
1632 Представления

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
2903
2
авг. 23
21660
1
дек. 22
3437
0
июл. 20
2897
2
мар. 19
6874