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

"The parameter is incorrect" error is confusing when accidentally specifying Password instead of ClearTextPassword #3245

Open
zarenner opened this issue Jul 29, 2016 · 3 comments

Comments

@zarenner
Copy link

@zarenner zarenner commented Jul 29, 2016

We had a user enter a password under the "Password" key rather than "ClearTextPassword" in their nuget.config. As far as I've found, all versions of nuget will emit the text "The parameter is incorrect." without any additional useful information.

e.g.
"WARNING: Unable to find version '1.0.0' of package 'testpackage'.
https://zlrenner.pkgs.visualstudio.com/_packaging/feed1/nuget/v3/index.json: Unable to load the service index for source https://zlrenner.pkgs.visualstudio.com/_packaging/feed1/nuget/v3/index.json.
The parameter is incorrect."

NuGet should emit a nicer message indicating that there is an issue with the (supposed to be) encrypted password.

@priyesh9875

This comment has been minimized.

Copy link

@priyesh9875 priyesh9875 commented Jun 23, 2018

Any update on this? I am getting this error while using proxy in corporate network.

@KyleLJohnson

This comment has been minimized.

Copy link

@KyleLJohnson KyleLJohnson commented Sep 28, 2018

Any update?

@voroninp

This comment has been minimized.

Copy link

@voroninp voroninp commented Oct 1, 2018

@zarenner And after sources have no priority local source is almost always faster and add or restore fail despite package is hosted in standard NuGet feed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.