Error in UiPath Action Center API

Hi @loginerror, @Pablito,

I am calling this API “https://cloud.uipath.com/odata/Tasks/UiPath.Server.Configuration.OData.UnassignTasks” to mark a task by passing the task Id from Unassigned to Complete.

Passing the bearer token too in Authorization header but still getting the error “Not Authorized”.

Kindly throw some light on this. It’ll be really helpful.

Hi @Anmol_Yadav

Please check out my post here:
https://forum.uipath.com/t/process-action-in-action-center-using-api/259800/8?u=loginerror

Hi @Anmol_Yadav ,
Let us know if you are still unable to call the API.
Thanks,
Amol

Hi @Anmol_Yadav

You should include account and tenant name in request URL.

https://cloud.uipath.com/accountname/tenantname/orchestrator_/odata/Tasks/UiPath.Server.Configuration.OData.UnassignTasks