Error: Unable to load the service index for source <URL> when adding to Visual Studio

Error: Unable to load the service index for source when adding to Visual Studio

Hello everybody. I created a CI/CD pipeline within a custom GitLab instance. In the pipeline I create and push the code as NuGet packages. Now I want to use GitLab as package source in Visual Studio and I get the error: [gitlab] Unable to load the service index for source . Response status code does not indicate success: 404 (Not Found).

When I try to go to this link in my browser I works just fine.

For setting this all up I was using this documentation. I already tried the following things:

  • Using personal token / using repository token
  • Cleared NuGet cache
  • Cleared credentials and reentered them
  • Check if the URL is correct

Can anybody help me? Thanks in advance! :blush:

1 Like