Orchestrator Lesson Practice 2

I am supposed to be creating a machine, then the robot, added it to the environment, but I still cannot get the UiRobot to connect it pops up some kind of error.


Not sure I can continue in the exercises if I canno get it to work. I have tried various versions of the Orchestrator URL and no luck so far.

Here’s the other error I get:
2nd%20error

Appreciate the help.

1 Like

@potchak

Please check below thread.

Empty Orchestrator API Versions

Sorry Lakshman, that did not help. Still getting the first error.

Hi @potchak

Could you Copy both errors to Clipboard and paste them here for more reference?

@loginerror, they are in the first post.

Copy to clipboard option includes the error message as well as extra details :slight_smile:

@loginerror-
Here’s the Empty API one :
Empty orchestrator api versions!
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.NotSupportedException: Empty orchestrator api versions!
at UiPath.Service.Orchestrator.Clients.OrchestratorVersion.Init(HttpResponseHeaders headers)
at UiPath.Service.Orchestrator.Clients.OrchestratorClientFactory.d__2.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Service.Orchestrator.Clients.OrchestratorClientFactory.d__1.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Service.Orchestrator.OrchestratorController.<PerformConnect_LicenceKeyAsync>d__15.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at UiPath.Service.Orchestrator.OrchestratorController.<PerformConnect_LicenceKeyAsync>d__15.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Service.Orchestrator.OrchestratorController.d__24.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Service.Messages.MessageDispatcher.d__21.MoveNext()

Here’s the other:
Unexpected character encountered while parsing value: <. Path ‘’, line 0, position 0.
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ‘’, line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at UiPath.Shared.JsonParser.DeserializeObject[T](String jsonValue)
at UiPath.Service.Orchestrator.Clients.OrchestratorBaseClient.d__4`1.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Service.Orchestrator.Clients.OrchestratorClient.d__30.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Service.Orchestrator.OrchestratorController.<PerformConnect_LicenceKeyAsync>d__15.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at UiPath.Service.Orchestrator.OrchestratorController.<PerformConnect_LicenceKeyAsync>d__15.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Service.Orchestrator.OrchestratorController.d__24.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Service.Messages.MessageDispatcher.d__21.MoveNext()

I could only find a small report of this happening if the url of the Orchestrator not being the correct one, which doesn’t seem to be the case here.

Any chance you could try a fresh install of Studio to see if it will fix the issue?

Same thing from my end as well…

Still not having any luck getting my robot attached to the orchestrator. Can anyone please help?

Hi @potchak

Please install the latest available version by following the guide here:

I updated it a bit. It should definitely fix your issue :slight_smile:

@loginerror Not sure how re-installing my studio fixes connecting my Robot connecting to the Orchestrator. Can you please explain? I have to go through IT to get it reinstalled, so not as easy as just point and click for me.

I can see in your screenshot that your version of Studio is running with 2019.8.0. This suggests that it is a Community Edition and will/should in-fact auto-update.

However, if something went wrong during the auto-update process, it could be that the robot service and/or overall Studio installation will cause those issues when connecting to Community Cloud Orchestrator.

This is why I suggested a fresh install :slight_smile:

Hi Potchak,

Try http://platform.uipath.com/[AccountLogicalName]/[ServiceName]/.