Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1461 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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

See:  Create a New Record Using Webhook in Odoo 17

Thanks

Awatar
Odrzuć
Najlepsza odpowiedź

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)

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lip 24
2814
2
sie 23
21533
1
gru 22
3304
0
lip 20
2798
2
mar 19
6673