Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
1484 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

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

See:  Create a New Record Using Webhook in Odoo 17

Thanks

Imagine profil
Abandonează
Cel mai bun răspuns

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)

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
iul. 24
2846
2
aug. 23
21554
1
dec. 22
3328
0
iul. 20
2827
2
mar. 19
6728