Unable to publish to Orchestrator - getting 406 Not acceptable error

orchestrator
studio

#1

Hi Team Unable to publish to Orchestrator

09:39:18:322 => [ERROR] [UiPath.Workflow.Logging.StudioTraceListener] [5] System.Exception: Publishing the project has failed.

Error: Failed to process request. ‘Not Acceptable’.

The remote server returned an error: (406) Not Acceptable… —> System.InvalidOperationException: Failed to process request. ‘Not Acceptable’.

The remote server returned an error: (406) Not Acceptable… —> System.Net.WebException: The remote server returned an error: (406) Not Acceptable.

at System.Net.HttpWebRequest.GetResponse()

at NuGet.RequestHelper.GetResponse()

at NuGet.HttpClient.GetResponse()

at NuGet.PackageServer.EnsureSuccessfulResponse(HttpClient client, Nullable`1 expectedStatusCode)

— End of inner exception stack trace —

at NuGet.PackageServer.EnsureSuccessfulResponse(HttpClient client, Nullable`1 expectedStatusCode)

at NuGet.PackageServer.PushPackageToServer(String apiKey, Func`1 packageStreamFactory, Int64 packageSize, Int32 timeout, Boolean disableBuffering)

at NuGet.PackageServer.PushPackage(String apiKey, IPackage package, Int64 packageSize, Int32 timeout, Boolean disableBuffering)

at UiPath.Project.Deploy.ProjectPackageManager.Push(WorkflowProjectPackage pack, Int32 timeout)

at UiPath.Project.Deploy.ProjectPackageManager.PackAndPublish(WorkflowProject project, Int32 timeoutMS)

at UiPath.Project.ProjectManager.Publish(Int32 timeoutMS)

at UiPath.Workflow.ViewModels.MainViewModel.PackAndPush()

— End of inner exception stack trace —

Please help


#2

Hi Arun,

What’s your project size? Does it happen when you try to Publish any project or just a specific one? If you disconnect the Robot from Orchestrator are you able to Publish locally?

Please provide Studio version. Is it Community Edition?


#3

@arunbt Please find the below link for the solution :

Do update if it resolved your issue .