Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with several nuget package but others work fine #13967

Open
thaiknguyen opened this issue Nov 27, 2024 · 1 comment
Open

Issues with several nuget package but others work fine #13967

thaiknguyen opened this issue Nov 27, 2024 · 1 comment
Labels
Area:Authentication Area:Settings NuGet.Config and related issues Functionality:Push Product:NuGet.exe NuGet.exe Type:Bug WaitingForCustomer Applied when a NuGet triage person needs more info from the OP

Comments

@thaiknguyen
Copy link

NuGet Product Used

NuGet.exe

Product Version

6.5.0.154

Worked before?

version did not change

Impact

It's more difficult to complete my work

Repro Steps & Context

There seems to be a misleading error, and I can't figure out why my pushes are failing for some nuget packages.. when using the UI, it works, but not through the command line.. however, same API key works for other nuget packages.

I created a new API key with * as glob pattern but still does not work. Besides, as mentioned, some packages did upload ok. The packages I'm uploading seems to be new (e.g. not just a new version).

Verbose Logs

nuget.exe push C:\FTemp\nuget\package\Atalasoft.dotImage.PdfReader.Multiprocessing.x86.11.5.0.4216.nupkg -Source https://www.nuget.org -Verbosity detailed
Pushing Atalasoft.dotImage.PdfReader.Multiprocessing.x86.11.5.0.4216.nupkg to the NuGet gallery (https://www.nuget.org)...
  PUT https://www.nuget.org/api/v2/package/
  Forbidden https://www.nuget.org/api/v2/package/ 472ms
Response status code does not indicate success: 403 (The specified API key is invalid, has expired, or does not have permission to access the specified package.).
@kartheekp-ms
Copy link
Contributor

kartheekp-ms commented Dec 4, 2024

Please confirm whether you selected the Push new packages and package versions option while generating an API key on nuget.org and ensured that the API key is passed to the command or configured in the NuGet.config file

image

@kartheekp-ms kartheekp-ms added Area:Settings NuGet.Config and related issues Functionality:Push Area:Authentication WaitingForCustomer Applied when a NuGet triage person needs more info from the OP Product:NuGet.exe NuGet.exe and removed Triage:Untriaged labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area:Authentication Area:Settings NuGet.Config and related issues Functionality:Push Product:NuGet.exe NuGet.exe Type:Bug WaitingForCustomer Applied when a NuGet triage person needs more info from the OP
Projects
None yet
Development

No branches or pull requests

2 participants