Reputation: 144
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...
Upvotes: 0
Views: 332
Reputation: 785
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>
Upvotes: 1