Description
Hi,
Im facing issue as below on jenkins while integrating with UiPath Orchestrator
"Failed to run the command.
The Orchestrator command failed with status code OK.
Microsoft.Rest.HttpOperationException: Could not deserialize the response body stream as UiPath.Orchestrator.Web.ClientV3.ODataValueOfIEnumerableOfTestSetDto. ---> 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.ReadAndMoveToContent() 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.JsonSerializer.Deserialize(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader) at UiPath.Orchestrator.Web.ClientV3.TestSetsClient.ReadObjectResponseAsync[T](HttpResponseMessage response, IReadOnlyDictionary`2 headers, CancellationToken cancellationToken) --- End of inner exception stack trace --- at UiPath.Orchestrator.Web.ClientV3.TestSetsClient.ReadObjectResponseAsync[T](HttpResponseMessage response, IReadOnlyDictionary`2 headers, CancellationToken cancellationToken) at UiPath.Orchestrator.Web.ClientV3.TestSetsClient.GetAsync(IEnumerable`1 mandatoryPermissions, IEnumerable`1 atLeastOnePermissions, String api_version, String select, String expand, String filter, String orderby, Nullable`1 top, Nullable`1 skip, Nullable`1 count, CancellationToken cancellationToken) at UiPath.CommandLine.Core.Services.Impl.TestService.GetTestSet(RunTestsOptions options) in C:\ao-ag-6dccd5b6-we\_work\1\s\UiPath.Extensions.CommandLine.Core\Services\Impl\TestService.cs:line 496 at UiPath.CommandLine.Core.Services.Impl.TestService.Run(RunTestsOptions options) in C:\ao-ag-6dccd5b6-we\_work\1\s\UiPath.Extensions.CommandLine.Core\Services\Impl\TestService.cs:line 141 at UiPath.CommandLine.Core.Services.Impl.OptionsParser.<>c__DisplayClass12_0.<<WithTelemetry>b__0>d.MoveNext() in C:\ao-ag-6dccd5b6-we\_work\1\s\UiPath.Extensions.CommandLine.Core\Services\Impl\OptionsParser.cs:line 211 --- End of stack trace from previous location --- at UiPath.CommandLine.Core.Services.Impl.OptionsParser.<>c__DisplayClass11_0.<<WithBusinessTraces>b__0>d.MoveNext() in C:\ao-ag-6dccd5b6-we\_work\1\s\UiPath.Extensions.CommandLine.Core\Services\Impl\OptionsParser.cs:line 194 --- End of stack trace from previous location --- at UiPath.CommandLine.Core.Services.Impl.OptionsParser.RunOptions(String[] args, Func`3 notParsedFunc) in C:\ao-ag-6dccd5b6-we\_work\1\s\UiPath.Extensions.CommandLine.Core\Services\Impl\OptionsParser.cs:line 131
An error was encountered. Please check if everything was configured correctly by visiting Automation Ops - Automation Ops user guide
ERROR: Step ‘UiPath Run tests’ failed: Failed to run the command.
Finished: FAILURE"
Link
Date
2025-07-14
Related UiPath products
Orchestrator