Skip to Content
Menu
This question has been flagged
2 Replies
1673 Rodiniai

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?

Portretas
Atmesti
Best Answer

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

See:  Create a New Record Using Webhook in Odoo 17

Thanks

Portretas
Atmesti
Best Answer

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)

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
liep. 24
2949
2
rugp. 23
21744
1
gruod. 22
3496
0
liep. 20
2984
2
kov. 19
6942