Error: Expected an absolute, well formed http URL without a query or fragment.\r\nParameter name: serviceRoot

I’m running Orchestrator and have two robots: One local (my Studio client) and one unattended server.
Both robots are connected to Orchestrator.
Testing with a simple package (all it does is write a string to the log.

When start the process to run on my local machine it works fine.
When I run it on the remote server robot it fails with this message:
Expected an absolute, well formed http URL without a query or fragment.\r\nParameter name: serviceRoot

Btw.: Remote access to the robot server shows that the robot is connected but no process are available.

I guess its wrong configuration somewhere.

Please help.

What Orchestrator version do you have? And please provide Studio version as well.

This error usually occurs when in Orchestrator Settings - Deployment URL you put a valid URL(something like https://platform.uipath.com) but an invalid location for packages.

Could you please check in UiPath.settings file(located in %programdata%\UiPath) if you have something set for NuGetApiKey and NuGetServerUrl? You shouldn’t if you left the Deployment URL and API key empty in Orchestrator Settings.

@ovi Thanks.
But I solved it my self and I’m now up and running with my first unattended robot (still celebrating) .

Problem:
The robot service was accidentally running as user (with the users credentials). The users AppData didn’t have the correct uipath.settings file.

Solution:
Restart the server and the robot service is now running as server, now using the servers AppData directory and finds the uipath.settings profile.

:tada: