Question for Asana team:
I am syncing a google sheet with Asana tasks using webhooks. Problem is that I often get duplicate events, flooding the server script leading to timeouts, in addition to the unnecessary performance hit. Why would I get multiple events with identical created_at value, on the same resource? It’s not practical/efficient to filter them this end.
An example if useful:
here’s an array of events received by the webhook…
[{“resource”:651952250824431,“user”:285624458033225,“type”:“task”,“action”:“changed”,“created_at”:“2018-04-28T10:52:35.947Z”,“parent”:null},{“resource”:651952250824432,“user”:285624458033225,“type”:“task”,“action”:“changed”,“created_at”:“2018-04-28T10:52:36.171Z”,“parent”:null},{“resource”:651952250824433,“user”:285624458033225,“type”:“task”,“action”:“changed”,“created_at”:“2018-04-28T10:52:36.381Z”,“parent”:null}]
and here it is again a few seconds later:
[{“resource”:651952250824431,“user”:285624458033225,“type”:“task”,“action”:“changed”,“created_at”:“2018-04-28T10:52:35.947Z”,“parent”:null},{“resource”:651952250824432,“user”:285624458033225,“type”:“task”,“action”:“changed”,“created_at”:“2018-04-28T10:52:36.171Z”,“parent”:null},{“resource”:651952250824433,“user”:285624458033225,“type”:“task”,“action”:“changed”,“created_at”:“2018-04-28T10:52:36.381Z”,“parent”:null}]