How to resolve the error "An error has occurred" obtained while uploading a package to the Orchestrator?
Issue description:
Sometimes the following error may be encountered while uploading a package to the Orchestrator.
The root cause of the error varies and as such appropriate measures must be taken to troubleshoot and resolve the issue.
Troubleshooting/Resolution:
Approach #1:
- Make sure that the AppPoolIdentity user has enough permissions in the NuGet package folder to read/write. The NuGet package path can be found in the "UiPath.Orchestrator.dll.config" file (
C:\Program Files (x86)\UiPath\Orchestrator
). - Try giving full control access to everyone in this folder.
Approach #2:
- Make sure that there is disk space available in the Orchestrator server.
- If memory is low, clean up the disk, restart the server and see if it helps.
Approach #3:
- Try publishing the package from the Studio to Orchestrator and check.
- Make sure the project which is being published doesn't have any "Autosaved" / Test files, or unnecessary files.
- If required, please 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 file
- Delete all temp file (if found any)
Approach #4:
- Create a small workflow with simple activities Writeline and log message activities.
- Publish the project.
Approach #5:
- If approach #4 works, then the issue might be with the uploading of a specific package if the size of the upload package is>30 MB (In case the size is less than 30 MB skip this step )
- Try implementing the suggested solution in this link.
If the issue persists, collect the following and share it with UiPath Support for further analysis:
- An error screenshot and any associated error stack trace
- Application event logs from the Orchestrator server