You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm trying to create and push a Nuget Package to my Github Packages.
This is my command:
dotnet nuget push "bin/Release/TestPackage.Lib.1.0.0.nupkg" --api-key ************************** --source "github"
I also already added the github as a package source and it just worked fine.
Anyway I get the following Error:
PUT https://nuget.pkg.github.com/NAMESPACE/
warn : Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured.
Forbidden https://nuget.pkg.github.com/NAMESPACE/ 6018ms
error: Response status code does not indicate success: 403 (Forbidden).
The only thing I know for sure is, that I gave my Personal Access Token all necessary rights (Read:Package, Write:Package etc)
I'm also very new to this and just cant find a solution.
Could anyone help me?
Thank you so much in advance.
EDIT: Im just completely stupid. Obviously I set up a wrong Nuget-Source. I didnt replace NAMESPACE with my own Namespace...
Sorry....
PackagesHost your dependencies, libraries, and production-ready code, right from your repositoryQuestion
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Select Topic Area
Question
Body
Hi! I'm trying to create and push a Nuget Package to my Github Packages.
This is my command:
dotnet nuget push "bin/Release/TestPackage.Lib.1.0.0.nupkg" --api-key ************************** --source "github"
I also already added the github as a package source and it just worked fine.
Anyway I get the following Error:
PUT https://nuget.pkg.github.com/NAMESPACE/
warn : Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured.
Forbidden https://nuget.pkg.github.com/NAMESPACE/ 6018ms
error: Response status code does not indicate success: 403 (Forbidden).
The only thing I know for sure is, that I gave my Personal Access Token all necessary rights (Read:Package, Write:Package etc)
I'm also very new to this and just cant find a solution.
Could anyone help me?
Thank you so much in advance.
EDIT: Im just completely stupid. Obviously I set up a wrong Nuget-Source. I didnt replace NAMESPACE with my own Namespace...
Sorry....
Beta Was this translation helpful? Give feedback.
All reactions