Unable to upload package via .NET CLI (403 Error) #13403
Labels
Functionality:SDK
The NuGet client packages published to nuget.org
Product:dotnet.exe
Triage:NeedsMoreInfo
Type:Bug
WaitingForCustomer
Applied when a NuGet triage person needs more info from the OP
NuGet Product Used
dotnet.exe, Other/NA
Product Version
latest
Worked before?
No
Impact
I'm unable to use this version
Repro Steps & Context
Follow the steps here to upload a package.
On the section labeled "Publish with the .NET CLI or NuGet CLI", copy the code snippet:
'''dotnet nuget push Contoso.08.28.22.001.Test.1.0.0.nupkg --api-key qz2jga8pl3dvn2akksyquwcs9ygggg4exypy3bhxy6w6x6 --source https://api.nuget.org/v3/index.json'''. This is the .NET CLI snippet. Replace the values as indicated (ID, API key, etc).
Console outputs: "error: 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.)."/
For context, yes I verified the API key is correct, and yes I ensured that my package ID was globally unique. I triple checked, repackaged, and retried several times at different times of day, just in case.
Upload via the CLI did not work.
I tried uploading through the web interface. Worked on first try, as expected.
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: