Why is the Robot unable to download the package from feed?
This error is encountered when the Robot has trouble accessing activity package(s) from the listed feed.
Scenario 1:
The default locations where the Robot would look for are the following:
1. Orchestrator Feed (Orchestrator URL):
Check if the package exists by downloading it from Orchestrator Ui. If the package with that version is listed on Ui but when download is attempted, a "Package not found" error is encountered. Follow the below steps:
- Navigate to the folder path (see filesystem section Orchestrator - UiPath.Orchestrator.dll.config) of the Orchestrator feed where the package can be found. Verify that the package is present. This only holds good for On-Prem deployment.
- If the package can be located, remove it and manually upload via the Orchestrator UI ( Note: this must be done only for v2020.10+ as copy-pasting in package dedicated folders/composite folder structure is not supported Activities Feeds).
2. Official Feed:
For Studio/Robot versions <= 2021.4 , Official feed is https://www.myget.org/F/workflow
For Studio/Robot versions > 2021.4, Official feed is https://pkgs.dev.azure.com/uipath/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json
- Check with the IT team and ensure that the current firewall has whitelisted the official feed (Services The Robot Connects To).
- Log on to the Robot and open the Official feed address mentioned in the error in a separate browser. If this shows an error as well, then it's an issue outside of UiPath. If the URL can be accessed, then further investigation needs to be done as to why the robot itself cannot access the same URL if it shares the same rights as the session user.
3. Local feed:
It is found in the Robot installation directory. It contains packages that come along with the installer.
The location of these packages would be
- %ProgramFiles%\UiPath\Studio\Packages - Machine level installs
- %LocalAppData%\Programs\UiPath\Studio\Packages - User-level installs
4. Market Place feed:
This is the feed that contains Custom packages developed by Individual developers. This is the feed URL https://gallery.uipath.com/api/v3/index.json Marketplace - Integration With UiPath Studio.
- Access the feed URL on a browser on the robot machine. It should redirect to this URL uipath.pkgs.visualstudio.com/Public.Feeds/_packaging/Marketplace-Public/nuget/v3/index.json and provide a json response. If unable to access it, please reach out to IT team to check if it is whitelisted or not.
Robot Download Location:
This is the location where all the packages and their dependencies will be downloaded from different feeds configured in Nuget.config (found in the installation directory) once the job is started.
- Review the location where packages are stored on the robot machine. (Default location is %userprofile%/.nuget/packages It can also be configured to use a custom location (Robot Download Location). Check if the package in question can be found here. This will verify that the Robot user has access to the Robot feed in the first place and that the package exists.
- If the package is not found, upload the package from a different source (e.g. from another working environment or another working Robot) and check if that fixes the issue.
If none of the above steps work, gather the Event viewer logs and Fiddler trace from the Robot machine and open a support ticket with UiPath.
Scenario 2:
This error is also seen when the dependency packages are uploaded to Tenant--->Packages--->Packages instead of Tenant-->Packages--->Libraries.