UiPath Version: 2023 10.1 Community License
Issue: When I try to publish a workflow project to Orchestor from UiPath Studio, I get an error
:19.6588 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [12] Error: Publish of Process project to Orchestrator failed. Service Unavailable
11:34:19.6590 => [ERROR] [UiPath.Studio] [12] Error: Publish of Process project to Orchestrator failed. Service Unavailable
This was working just fine prior to upgrading to 2023 10.1
Since upgrading, I am seeing this error.
So the user permissions are fine in Orchestrator because I can publish from my personal computer. I think there is something going on with connection within my work VDIs since I updated the version. And to add more context to this…I have two VDIs running UiPath Studio. One of them was updated to the latest and was giving me issues publishing, while the other (older version) was publishing fine. And once I updated that one, I started having the same issues.
Can you try from the Studio machine to access the Orchestrator UI → Tenant → Packages → Upload → select the local nupkg file → Upload
Are you receiving any error?
If yes, it may be that your system is not allowing transfer of .nupkg files → in that case, you need check with your network team to allow the nupkg files.
15:29:06.1697 => [WARN] [UiPath.Studio] [1] Studio version: 23.10.1+Branch.support-v23.10.Sha.6614d182dc7670b6067208e9ad9fe67427c8c359
15:29:06.9864 => [WARN] [UiPath.Studio] [1] Session id: dc54d3d5-5b7a-4b5f-bb23-28ccbdc9d669
15:29:08.7724 => [WARN] [UiPath.Studio] [1] Office version: O365
15:29:08.7724 => [WARN] [UiPath.Studio] [1] Office build version: 16.0.17029.20068
15:29:10.4451 => [ERROR] [UiPath.Studio] [4] Error: No license exist for this installation Exception: UiPath.Licensing.Library.Extended.Exceptions.NotLicensedException: No license exist for this installation
at UiPath.Licensing.Library.Extended.Implementation.OnlineLoader.UpdateAsync(IDictionary2 userMetadata, ProxySettings proxySettings) at UiPath.Licensing.Library.Extended.Implementation.LicenseProvider.UiPath.Licensing.Library.Extended.ILicenseProvider.UpdateOnlineLicenseAsync(IDictionary2 userMetadata)
15:52:35.1910 => [WARN] [UiPath.Studio] [20] EnsureOrchestratorStatusCodeAsync: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ‘’, line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
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 value, TypeNameHandling typeNameHandling)
at UiPath.Studio.Orchestrator.Common.Extensions.HttpResponseMessageExtensions.EnsureOrchestratorStatusCodeAsync(HttpResponseMessage response)
15:52:35.1951 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [20] Error: Publish of Process project to Orchestrator failed. Service Unavailable
15:52:35.1952 => [ERROR] [UiPath.Studio] [20] Error: Publish of Process project to Orchestrator failed. Service Unavailable
16:01:12.8366 => [WARN] [UiPath.Studio] [86] EnsureOrchestratorStatusCodeAsync: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ‘’, line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
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 value, TypeNameHandling typeNameHandling)
at UiPath.Studio.Orchestrator.Common.Extensions.HttpResponseMessageExtensions.EnsureOrchestratorStatusCodeAsync(HttpResponseMessage response)
16:01:12.8375 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [86] Error: Publish of Process project to Orchestrator failed. Service Unavailable
16:01:12.8366 => [ERROR] [UiPath.Studio] [86] Error: Publish of Process project to Orchestrator failed. Service Unavailable
15:29:06.1697 => [WARN] [UiPath.Studio] [1] Studio version: 23.10.1+Branch.support-v23.10.Sha.6614d182dc7670b6067208e9ad9fe67427c8c359
15:29:06.9864 => [WARN] [UiPath.Studio] [1] Session id: dc54d3d5-5b7a-4b5f-bb23-28ccbdc9d669
15:29:08.7724 => [WARN] [UiPath.Studio] [1] Office version: O365
15:29:08.7724 => [WARN] [UiPath.Studio] [1] Office build version: 16.0.17029.20068
15:29:10.4451 => [ERROR] [UiPath.Studio] [4] Error: No license exist for this installation Exception: UiPath.Licensing.Library.Extended.Exceptions.NotLicensedException: No license exist for this installation
at UiPath.Licensing.Library.Extended.Implementation.OnlineLoader.UpdateAsync(IDictionary2 userMetadata, ProxySettings proxySettings) at UiPath.Licensing.Library.Extended.Implementation.LicenseProvider.UiPath.Licensing.Library.Extended.ILicenseProvider.UpdateOnlineLicenseAsync(IDictionary2 userMetadata)
15:52:35.1910 => [WARN] [UiPath.Studio] [20] EnsureOrchestratorStatusCodeAsync: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ‘’, line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
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 value, TypeNameHandling typeNameHandling)
at UiPath.Studio.Orchestrator.Common.Extensions.HttpResponseMessageExtensions.EnsureOrchestratorStatusCodeAsync(HttpResponseMessage response)
15:52:35.1951 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [20] Error: Publish of Process project to Orchestrator failed. Service Unavailable
15:52:35.1952 => [ERROR] [UiPath.Studio] [20] Error: Publish of Process project to Orchestrator failed. Service Unavailable
16:01:12.8366 => [WARN] [UiPath.Studio] [86] EnsureOrchestratorStatusCodeAsync: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ‘’, line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
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 value, TypeNameHandling typeNameHandling)
at UiPath.Studio.Orchestrator.Common.Extensions.HttpResponseMessageExtensions.EnsureOrchestratorStatusCodeAsync(HttpResponseMessage response)
16:01:12.8375 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [86] Error: Publish of Process project to Orchestrator failed. Service Unavailable
16:01:12.8366 => [ERROR] [UiPath.Studio] [86] Error: Publish of Process project to Orchestrator failed. Service Unavailable
As per initial exception in the logs looks like a license issue…try to check if appeopriate roles are give…check inside the roles if publish option is checked or not
Also better try to disconnect the assitant and reconnect it
There is a new role automation publisher try to check if that is being assigned
The issue it seems to be from the Deserialize JSON activity from the UiPath.WebAPI.Activities.
[UiPath.Studio] [86] EnsureOrchestratorStatusCodeAsync: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ‘’, line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
Check if you have some activities involved in your workflow (HTTP Request and Deserialize JSON) and try to check again the API and the results.
So here is further information on this issue. I get the same error when I even try to publish a blank workflow. Now if I connect my UiPath in my personal computer to the orchestrator…I am able to publish with no errors. I wonder if there is something blocking it…maybe firewall/network related.