Limiting Webhook request to my endpoint

Hi, I’m facing an issue regarding continuous trello webhook requests. Let’s say, I’m sending 15 requests from trello board to my rest route in less than 15 seconds. Sometimes it’s taking too much time to handle those requests and slowing down my website and sometimes it says 504 error.I tried executing the code a few seconds/minutes later, but it didn’t work. Do you guys have any solution for that?

Unfortunately, there isn’t a way to tell Trello to send your webhook only certain types of actions.

What actions are you taking when you receive a webhook?

It sounds like you may need to explore how to use a queue to begin to move the work you’re doing when you receive a webhook into an asynchronous flow: Do you need a task queue in your web app?.

1 Like