Failed To Retrieve Metadata From Source https://

How to get local packages when prompted to the error "Failed to retrieve metadata from source https://"?

Issue Description: Robot cannot retrieve local packages due to error "Failed to retrieve metadata from source https://"

Resolution: The problem occurs because in the database the Host libraries have the value "0" set for the "IsPublic" column in the "dbo.PackageFeeds" table.

  • This can be solved after changing in the database the "IsPublic" value for the host from "0" to "1" via the below query:

update dbo.PackageFeeds set IsPublic=1 where TenantId IS NULL