kaggle-cli icon indicating copy to clipboard operation
kaggle-cli copied to clipboard

Can't authenticate with valid credentials

Open yissachar opened this issue 7 years ago • 9 comments

Trying to download competition files gives me authentication errors:

$ kg download -u <my-username> -p <my-password> -c <competition>
Starting new HTTPS connection (1): www.kaggle.com
The username or password provided is incorrect.
'NoneType' object has no attribute 'get'

I'm using the same user and password that lets me login via the browser with no problems.

yissachar avatar Nov 19 '17 05:11 yissachar

What's the version?

floydwch avatar Nov 20 '17 03:11 floydwch

0.12.13

yissachar avatar Nov 22 '17 01:11 yissachar

-u <email> worked.

elbaro avatar Nov 25 '17 15:11 elbaro

Using email doesn't help - I get the same error.

yissachar avatar Nov 26 '17 17:11 yissachar

@yissachar Any special character in your password?

floydwch avatar Nov 27 '17 03:11 floydwch

Password begins with a $. Would that somehow cause any issues?

yissachar avatar Nov 27 '17 04:11 yissachar

Changing password to something that doesn't contain $ works. Seems $ causes the bug whether it is at the start of password or anywhere in middle.

yissachar avatar Nov 27 '17 05:11 yissachar

I ran into this as well (because of a '>' in my password I think). Simply quoting my password fixed it for me.

rissem avatar Dec 04 '17 03:12 rissem

Quoting didn't work for me but escaping dollar signs did. E.g. -p mypa\$word

chasehere avatar Jan 15 '18 22:01 chasehere