Send ID with DELETE webhook? [May 15]

[dummy title body text appended to avoid empty title body]

:raising_hand_man: kenmt replied

Hey there,

Posted on GH but maybe will have a faster response here.

Trying to send a webhook from NocoDB to my service when a record is deleted. I just have the body set to the following, but it’s just sending an empty parameter.

What am I missing?

{ "deleted_id": {{ data.id }} }

Thanks!

:raising_hand_man: wkw replied

seems like a bug for after delete. will investigate it. thanks for reporting

:raising_hand_man: kenmt replied

No problem. Then the response sent to my URL is just

{ “deleted_id”: }

so it’s empty. It works fine with the test webhooks, just not in production once I delete a real record.

:raising_hand_man: wkw replied

found the root cause. the fix s in progress. please be expected to see it available in next release

:raising_hand_man: wkw replied

besides, if u r using default id column, i believe u should use data.Id instead of data.id

:raising_hand_man: wkw replied

here’s the issue i helped open - u may subscribe it for the update

Send ID with DELETE webhook? · Issue #2024 · nocodb/nocodb · GitHub

:raising_hand_man: kenmt replied

Thanks :slightly_smiling_face:

Autogenerated from discord


Join NocoDB’s community

DiscordTwitterRedditDocs