- ABP Framework version: v4.2.2
 - UI type: MVCr
 - DB provider: EF Core
 - Tiered (MVC) or Identity Server Separated (Angular): Tiered MVC Separate IDentity
 - Exception message and stack trace:
 
C:\Program Files\dotnet\sdk\5.0.202\NuGet.targets(131,5): error : Failed to retrieve information about 'Microsoft.Extensions.FileProviders.Embedded' from remote source 'https://nuget.pkg.github.com/SPHTech/download/microsoft.extensions.fileproviders.embedded/index.json'. [C:\SPH\CommerceAdminWorkspace\src\SPHTech.Commerce.Admin.IdentityServer\SPHTech.Commerce.Admin.IdentityServer.csproj] C:\Program Files\dotnet\sdk\5.0.202\NuGet.targets(131,5): error : Response status code does not indicate success: 401 (Unauthorized). [C:\SPH\CommerceAdminWorkspace\src\SPHTech.Commerce.Admin.IdentityServer\SPHTech.Commerce.Admin.IdentityServer.csproj]
- Steps to reproduce the issue:
 - just run dotnet run
 
Got this error when running dotnet run on a windows machine.
C:\Program Files\dotnet\sdk\5.0.202\NuGet.targets(131,5): error : Failed to retrieve information about 'Microsoft.Extensions.FileProviders.Embedded' from remote source 'https://nuget.pkg.github.com/SPHTech/download/microsoft.extensions.fileproviders.embedded/index.json'. [C:\SPH\CommerceAdminWorkspace\src\SPHTech.Commerce.Admin.IdentityServer\SPHTech.Commerce.Admin.IdentityServer.csproj] C:\Program Files\dotnet\sdk\5.0.202\NuGet.targets(131,5): error : Response status code does not indicate success: 401 (Unauthorized). [C:\SPH\CommerceAdminWorkspace\src\SPHTech.Commerce.Admin.IdentityServer\SPHTech.Commerce.Admin.IdentityServer.csproj]
However when running/debugging withing Visual Studio there is no issues
5 Answer(s)
- 
    0
Any help on this??
 - 
    0
hi,
Response status code does not indicate success: 401 (Unauthorized).it seems like you didn't login via ABP CLI. 1- Ensure that ,
ABP Commercial NuGet Sourceis added to your package sources with your valid API KEY (you can copy from a downloaded project)<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> <add key="BlazoriseMyGet" value="https://www.myget.org/F/blazorise/api/v3/index.json" /> <add key="ABP Commercial NuGet Source" value="https://nuget.abp.io/<YOUR-API-KEY>/v3/index.json" /> </packageSources> </configuration>2- Login via ABP CLI where you run this project.
abp login <username> -p <password> - 
    0
still not working for me.
Already confirmed the Nuget.config file is correct with my API key.
Already logged in to ABP as well.
 - 
    0
hi yuemy
Can you try to remove or disable other nuget source in you
Nuget.config?Include
C:\Users\your-name\AppData\Roaming\NuGet\NuGet.Config - 
    0
This question has been automatically marked as stale because it has not had recent activity.