Publish to Orchestrator failes: Invalid package details

Hello,

when trying to publish a workflow to the orchestrator the error below occures and I have no clue what could be wrong. Does anybody of you have an idea? Here are some more details:

  1. Publishing other workflows and libraries to the same orchestrator from the same studio works fine.
  2. Publishing the same workflow localy works fine
  3. I have tried to delete the project.json file and create it again, but this did not help

Thank you for your help!

Error message:
19.4.4+Branch.support/v2019.4.Sha.XXX

Error: Publish of workflow project to Orchestrator failed. Invalid package details!

Error: System.ApplicationException: Publish of workflow project to Orchestrator failed. Invalid package details! ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Invalid package details!

Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at UiPath.Models.IUiPathRemoteDuplexContract.PublishPackage(String feedUrl, String packFilePath, Int32 timeoutSeconds)
   at UiPath.Models.UiPathDuplexProxy.PublishPackage(String feedUrl, String packagePath, Int32 timeoutSeconds)
   at UiPath.Studio.Plugin.Workflow.Project.BaseWorkflowProjectFactory.PublishToOrchestrator(String feedUrl, Int32 timeout, String packFilePath) in d:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Project\Factory\BaseWorkflowProjectFactory.cs:line 377
   --- End of inner exception stack trace ---
   at UiPath.Studio.Plugin.Workflow.Project.BaseWorkflowProjectFactory.PublishToOrchestrator(String feedUrl, Int32 timeout, String packFilePath) in d:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Project\Factory\BaseWorkflowProjectFactory.cs:line 382
   at UiPath.Studio.Plugin.Workflow.Project.BaseWorkflowProjectFactory.<>c__DisplayClass44_0.<PublishPackageAsync>b__0() in d:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Project\Factory\BaseWorkflowProjectFactory.cs:line 357
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- 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.Studio.Plugin.Workflow.Project.BaseWorkflowProjectFactory.<PublishPackageAsync>d__44.MoveNext() in d:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Project\Factory\BaseWorkflowProjectFactory.cs:line 357
--- 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.Studio.Plugin.Workflow.Project.BaseWorkflowProjectFactory.<InternalPublish>d__40.MoveNext() in d:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Project\Factory\BaseWorkflowProjectFactory.cs:line 268, HResult -2146232832

Hi @ManOnTheMoon,
Welcome to the Community!
Have you tried to import package manually from Orchestrator? Is this provide you any error as well?

Hello @Pablito,
thank you! When puplishing the package to the orchestrator the same problem occures.
Since I do not have access to the Orchestrator, I asked the guy running it to take care of the problem.

Please let me know if that helped :slight_smile: