I am creating a task from a template and then updating that task to add an assignee. Most of the time it works correctly, but sometimes (happened 2 times in 350 requests) for the task update request I receive a 401 response.
These are the request that I am sending:
First Request
"name": "New Task Name 3",
"description": "New Task Description",
"priority": 4
Second Request
"assignees": {
"add": [{{userId}}]
This is the response body when I receive a 401:
{err: "Team not authorized", ECODE: "OAUTH_027"}
For authentication I am using API Token.