I've implemented a Trello webhook, and it worked as expected initially. However, after several days, I noticed a delay of 3–5 minutes in receiving webhook events. What could be causing this delay, and how can I resolve or mitigate it?
Hmm, never had such an issue (webhooks are normally close to instant)... Could it perhaps be retries you are seeing and mistaken them for delays?
Also, I would try at add one more Webhook on another board to see if if issue is Board-scecific
Thanks for your response!
Yes, I think it is board-specific. I've tried set webhook on another board and it works normally.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm, in such a scenario I would try removing the Webhook and then Re-add it, and if this does not work, contacting support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
... and thinking out loud... Could Automations perhaps play a role here? (Don't actually know if webhooks and automations trigger at the same time or perhaps Webhooks are first triggered after all automations have run 🤔 (it could perhaps be the case and your setup became slow because someone added an expensive automation)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've contacted support and here is the reply
Mutya here from Trello Support. Thank you for reaching out to us and for providing the webhook details. I also noticed that the board has 600+ cards and 1,200+ attachments. It is possible that the delay might be regarding this.
We are currently working to improve Trello's performance on these large boards, but for now, the best solution I would offer is to break up the lists into individual boards or archive cards you no longer need. That will allow the individual boards to perform much better. Also, archived cards are still available in the archived items and search results. More information about that is available here: https://support.atlassian.com/trello/docs/troubleshooting-a-slow-board
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After double checking, I noticed that each member has a webhook, and mostly has a lot of `consecutiveFailures`. After I disable those webhooks, the issue is resolved. Now the webhook events are received instantly
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.