Unable to execute Orchestrator API with POST method

I am trying to execute Orchestrator API “https://platform.uipath.com/api/account/authenticate” with HttpClient activity.

I have provided my Orchestrator Tenant name and Login Credentials, but i am getting below error result, i doubled checked with my Orchestrator credentials, but could not find the way to find out.

I am executing this from my laptop.

“message”: “{"message":"Invalid credentials, failed to login.","errorCode":1000,"resourceIds":null}”,
“level”: “Information”,
“logType”: “User”,
“timeStamp”: “21:34:35”,
“processVersion”: “1.0.1”,
“jobId”: “da444137-a81e-4837-80af-d21796ad4ecf”,
“robotName”: “MyDemoPC-ROBOT”,
“machineId”: 92608,
“organizationUnitId”: 15660

Recently, it has been changed to a method that uses an API key rather than Credential.

Check out the documentation below.

Request Body example

1 Like

Hi, As you mentioned i have provided below json in the body and Header for the API : https://account.uipath.com/oauth/token, but i am getting ‘Invalid Json’ error

Please use two double quotes. :slight_smile:

1 Like


Please have look at the video:
Orchestrator API - Authenticate