I am getting following error when running robot from command line:
RemoteException wrapping System.InvalidCastException: Unable to cast object of type ‘UiPath.Service.PasswordCredential’ to type ‘UiPath.Service.IdentityCredential’.
at UiPath.Service.Job.StartAsync(IUserCredential credential)
Hi @radutzp, in production I am running unattended robot scheduled via Windows Scheduler. So for me is essential that robot will run from command line in background.
Cheers
The latest 2021.10 version follows our current licensing which only offers scheduling of your unattended processes via Orchestrator (either on-prem or cloud).
The windows scheduler method was a workaround that was not officially supported for quite some time now and the recent improvements to the Robot caused some breaking changes in terms of running an unattended robot using this method with the locked screen.
It should in theory still work without locking your screen.