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

Forbidden status and prompted to enter credentials when attempt to push new package with same ID as an existing one #3218

Closed
OneEyedSi opened this issue Aug 28, 2016 · 3 comments

Comments

@OneEyedSi
Copy link

I was attempting to push a new package to Nuget and each time was getting a Forbidden status back, and was prompted for my credentials to connect to the site. After hours of trying to figure out the problem it turned out the issue was the ID of the new package I was attempting to push duplicated the ID of an existing package from a different author.

The error message and the prompt for credentials seems misleading in this situation. I suggest an explicit error message, if possible, along the lines of "Unable to push the package, ID duplicates the ID of an existing package."

@shishirx34
Copy link
Contributor

shishirx34 commented Aug 30, 2016

@AnotherSadGit - Thank you for reporting, I see that the issue is reproducible with the nuget.exe. I have created another tracking issue with the Client team.

@shishirx34
Copy link
Contributor

Its possible that the gallery isn't returning correct error message to the client. Reopening the bug.

@shishirx34 shishirx34 reopened this Aug 30, 2016
@shishirx34
Copy link
Contributor

The forbidden result was by design and at the moment the prescribed behavior is that the client could show the returned message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants