Unable to launch automation using command line

Hi all,

I have created an automation which needs certain parameter while launching of the automation. When I am launching the automation using Studio it working fine but I am trying to launch the automation using command line I am getting below error:

Unexpected end when reading JSON. Path ‘’, line 1, position 1.

Command Used:
UiRobot.exe -file “Main.xaml” -input “{“in_ConfigSheets”: [“Settings”, “ApplicationMappings”, “EmailSettings”],“in_ConfigFile”: “Data\Config.xlsx”,“in_ApplicationMappingSheet”: “ApplicationMappings”,“in_CompaniesSheet”: “Companies”}”

Can anyone help in this ?


Hi Aman,

Refer this post,

Thanks @Gouda_6 this is not exactly my problem I am using correct path for UiRobot.exe. I having the problem with arguments for the main.xaml file.


Try the below cmd

UiRobot.exe -file “Main.xaml” -input “{‘ConfigSheets’:[‘Settings’,‘ApplicationMappings’,‘EmailSettings’],‘in_ConfigFile’:‘Data\\Config.xlsx’,‘in_ApplicationMappingSheet’:‘ApplicationMappings’,‘in_CompaniesSheet’:‘Companies’}”

Thanks @663910 but it is not working it is giving below error:

The path is not of a legal form.

@AMAN_GUPTA Ensure that your using the full path for the Uipath xaml file.

Hi @663910 I am also tried with using full path of the xaml.file