I’ve been replicating the ‘Create Template’ function into my API so I create a project from scratch, I add the tasks that are in my template and the subtasks, I define the custom fields. All that is working well.
When I execute the request (PUT) to add custom fields values:
https://app.asana.com/api/1.0/tasks/" . $taskID,
I get this error: Error: HTTP status code: 402
Our workspace is premium and I tried with 2 different accounts token and I still get the same error. Why do I get this error? I remember that I managed to make it work some months ago in another application in the same workspace and the same account and it worked.