Unable to Authenticate Orchestrator api

I am hitting orchestrator api via postman with all below details,But getting error.
Url: https://platform.uipath.com/api/Account/Authenticate
body:{
“usernameOrEmailAddress”: "amoharana@********* ",
“tenancyName”: "adminTenant ",
“password”: “***********”
}
Response
{
“message”: “Invalid credentials, failed to login.”,
“errorCode”: 1000,
“resourceIds”: null
}

Please do help.
I have put all information correctly in json body

Hi @AnilM
As i can see you pass an invalid payload.!

cheers :smiley:

Happy learning :smiley:

1 Like

@pattyricarte
Invalid Payload Can you please help me on this?
I am passing data in body properly as I have mentioned.Its not that I am passing the property blank.
{
“usernameOrEmailAddress”: "amoharana@********* ",
“tenancyName”: "adminTenant ",
“password”: “***********”
}

Im running into the same problem. After they updated Cloud Orchestra-tor things have become a little muddy.

Whats weird is I can authenticate using the old Tenant and user id and password but logging into orchestra-tor after setting new password I cannot. I’m sure the payload has to change but not sure what values to provide it now.

Let me know if you get any where and I will do the same

Trev

@bbimuyi I have not got any solution.Unable to proceed further.

@AnilM @bbimuyi Hello guys, Im facing the same problem since 2 days, did you found a solution please ?

@Ben_chaabane_Founa

The authentication scheme for the UiPath Cloud Orchestrator REST API changed with the 2019.10 release.

It used to be basic auth. It now uses OAuth2.

The official documentation can be found here:

https://docs.uipath.com/orchestrator/v2019/reference#consuming-cloud-api

I have also written a Blog post about it here:

– M

4 Likes

Thank you :smile:
the 2nd link is very clear, I will follow it

Very organized blog, thanks very much @mjdeale