Duplicate Events in webhooks
Hello!
There are a few topics on this: https://help.wrike.com/hc/en-us/community/posts/9680115900695-Duplicate-Webhook-calls, https://help.wrike.com/hc/en-us/community/posts/4405693375767-Duplicate-Events-in-wrike-webhooks.
Also, we have contacted support earlier, but finally, the problem was solved by dedicating events on the client-side. So our webhook API calculates the hash of the payload and filters already accepted events. It seems to be imperfectly correct, but it still works fine. Alternatively, we can use the header X-Hook-Secret to dedicate events because this is the encrypted payload itself.
I would like to suggest you add a header, something like X-Wrike-EventId. With this approach, we can solve a lot of problems, for example:
- Simplify ambiguous dedicating logic
- We will be able to receive events via different network routes by adding several hooks (now it is not possible due to the payload containing webhook-id and it affects the hash of the payload).
Thank you for posting Alexander Salamatov! As this is feedback and also a product suggestion, I'll move your post to the Product Feedback forum and pass it on to our team 👍
Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover
Lisa Wrike Team member Become a Wrike expert with Wrike Discover