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 ?
Thanks,
Aman
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.
663910
(sivasankari)
April 10, 2019, 9:19am
4
@AMAN_GUPTA
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.
663910
(sivasankari)
April 11, 2019, 5:05am
6
@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