An error occurs when increasing followers with an API request

Hello Asana team members

When a system alert is detected, we use Datadog’s Webhook integration to make Asana API requests and create tasks.
Since December, five identical tasks have been created simultaneously.
This issue is reproducible, and currently, simultaneous creation occurs 100% of the time.
Datadog’s Webhook integration is designed to retry four times when an error status is received, which matches the number of simultaneous tasks being created. The tasks are successfully created, but we suspect some kind of error has occurred.
We investigated the issue by adjusting the API request parameters, and found that retries began occurring when the number of followers used to specify collaborators exceeded 12. When the number was below that, tasks seemed to be created successfully, and simultaneous creation was not observed. We’re wondering if there’s a limit on the number of followers.

Hi @中道泰輔 , thanks for reporting this and for the investigation you’ve already done.

A limit of 12 collaborators does not seem anywhere close to the expected collaborator limit for a task, so based on that alone, I would not expect this behavior to be caused by hitting a platform limit.

I also took a look through Datadog’s webhook documentation, and my understanding is that retries should occur only when the target endpoint responds with a 5XX status code. That said, I also wouldn’t normally expect the task creation to succeed and still result in an 5XX response that causes repeated retries.

I’m happy to review what we can see on our side, but to do that I’ll need a bit more information to look up the relevant logs, specifically your org ID, a few example tasks that were created as duplicates, and/or timestamps for when the duplicate creations occurred.

Could you please open a support case with those details? If possible, please choose the API category so it gets routed directly to our team.