attaskworkfront-api

Cannot assign tasks Workfront API. Getting authentication error


I'm getting Error: Request failed with status code 401 when trying to assign tasks. I use PUT and attask/api/v9.0/task/{task number}/assign and passing objID, objCode, username and password or my ApiKey as params. Fun thing is - it's working through Postman. But it doesn't work in my app deployed on Heroku. Requests with GET are working though...


Solution

  • You do not need the username parameter. Try just invoking PUT attask/api/v9.0/task/{task number}/assign?objCode=USER&objCode=<user UUID>&apiKey=<key>