Issue with Jenkins and UiPath Integration post API authentication removal

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, IReadOnlyDictionary2 headers, CancellationToken cancellationToken) — End of inner exception stack trace — at UiPath.Orchestrator.Web.ClientV3.TestSetsClient.ReadObjectResponseAsync[T](HttpResponseMessage response, IReadOnlyDictionary2 headers, CancellationToken cancellationToken) at UiPath.Orchestrator.Web.ClientV3.TestSetsClient.GetAsync(IEnumerable1 mandatoryPermissions, IEnumerable1 atLeastOnePermissions, String api_version, String select, String expand, String filter, String orderby, Nullable1 top, Nullable1 skip, Nullable1 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.<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.<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, Func3 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
ERROR: Step ‘UiPath Run tests’ failed: Failed to run the command.
Finished: FAILURE"
Facing this issue post API authentication deprecation