How to resolve the error received during the Publish of workflow project to Orchestrator fails with error " An error has occurred.- Error from Studio while publishing a project" ?
There can be many reasons for this issue.
Issue #1: If the Size of the project folder is more than 30 MB
Solution: Refer to Increasing the Size Limit Of Package Files.
Issue #2: Junk/Corrupted files
Solution:
- Close the UiPath studio, Navigate to the location of the project, delete the below, and then try to publish again.
- Delete all Autosaved xaml file.
- Delete all test files.
- Delete all temp file (if found any).
- Now verify.
Issue #3: Memory issues on the Nuget server
Solution:
- Verify the availability of the disk space in the Nuget server.
- If it is low in memory then clean up its disk.
- Memory being full, disables the possibility to publish the package.
Issue #4: Orchestrator Certificate issue
Solution:
- Try disconnecting and reconnecting the robot with the Orchestrator. If it is not possible to connect Robot with a remote certificate error, then check if the certificate in Orchestrator is expired.
- Go to IIS --> Websites --> Bindings.
- Update the certificate and reconnect the robot with Orchestrator.
- Should be able to publish to Orchestrator now.
Issue #5: Network issue
Solution:
- Verify the network and check if the package is getting stuck/rejected at any node.
- The request goes to the load-balance --> Then to Kubernetes --> Followed by Ingress. And there the limitation was set to 1 MB which was causing the issue.