Hey , I'm trying to add people as agents to particular service desk and after resolving bunch of problems with authentication etc i finally stumbled upon
['Invalid request payload. Refer to the REST API documentation and try again.']}
My guess would be that
data = {"accountId": account_id} is somehow wrong and maybe something else needs to be used. Seems that the projectID, roleID and accountId are all printed and correct for e-mail i'm using.
Block of code making the request:
It was indeed
data = {"accountId": account_id}
What was needed is to transform it to array so the correct way is
data = {"accountId": [account_id]}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.