Uipath orchestrator error - invalid machine key

Invalid machine key
RemoteException wrapping UiPath.Service.Orchestrator.Clients.OrchestratorHttpException: Invalid machine key


Check in the UiRobot.exe, you have correctly mentioned the orchestrator link which you want to connect from your machine.

1 Like

kindly have a view on this thread with new requirement while mentioning the orchestrator url

Cheers @Sriram321

1 Like

@Palaniyappan, @sarathi125 I entered with account name
and tried with training 2019 also
still not working

1 Like

Are you passing the URL with the service logical name and instance name as per the new requirements @Sriram321

here is the reference link :


Is the machine name written exactly in orchestrator as per in your machine
And also while creating robot in orchestrator make sure that the domain and username is mentioned correctly
For that in your machine go to cmd window and type as whoami which will give you the domain and username m, mention the same while creating robot

Kindly try this and let know for any queries or clarification
Cheers @Sriram321

@HareeshMR yess i tried that also but not working

@Palaniyappan already done using the current machine name only but not working

Kindly check once with the domain and username
Cheers @Sriram321

Just restarting your machine will do the trick. Please try that.

1 Like

@HareeshMR from past 2 days im trying so i restarted around 6 times but nothing works

its correct domain and username only still im getting invalid machine key or empty api error only

1 Like

Can you post the screenshot of the Orchestrator URL you are getting and the one you are providing in the robot agent? Make sure you are using the correct username and password which you use to unlock the machine and ofcourse the username should be the one you get when you run the command, whoami in command prompt. And can you post the screenshot of the robots page too

1 Like

Kindly check once whether the robot is tagged to any environment and is of type unattended been chosen

Cheers @Sriram321

did youchanged thr orch url to like this


yes same only

checked robot is not tagged to any other environment

You mean like not even tagged to any environment

1 Like


1 Like

we have to tag a robot to a environment buddy
–for that create a environment in environment option in ROBOT tab
–then click on MANAGE options and add the robot we have created
–then try connecting the machine from ROBOT TRAY

Cheers @Sriram321