Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
1564 Vues

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
Ignorer
Meilleure réponse

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

See:  Create a New Record Using Webhook in Odoo 17

Thanks

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
2
juil. 24
2888
2
août 23
21619
1
déc. 22
3380
0
juil. 20
2888
2
mars 19
6824