djsudduth / keep-it-markdown

Convert Google Keep notes dynamically to markdown for Obsidian, Logseq, Joplin and Notion using the unofficial Keep API. Also, import simple markdown notes back into Google Keep.
Apache License 2.0
493 stars 32 forks source link

Username or password is incorrect (LoginException('BadAuthentication'))' #58

Closed Jimmy2times closed 1 year ago

Jimmy2times commented 1 year ago

Thank u for your good work. Complete noob here, I can't see the password when I type or paste and it showed 'Username or password is incorrect (LoginException('BadAuthentication'))' when I pressed enter. And I Double checked when I typed the app password.

djsudduth commented 1 year ago

@Jimmy2times - hi! the pw field is hidden for protection. However, try to copy and paste the app pw (which you need to recreate again) into notepad or word and then hand type it into the pw field very slowly and carefully. Be sure the app pw has no spaces or dashes. It should be 16 digits.

There are some cases which you'll find in issues where the app pw doesn't work which seems to be a python or os environment issue. Take a look at those to see if they help at all if the above step doesn't work.

Jimmy2times commented 1 year ago

@djsudduth HI, I tried every solution other issues mentioned. It did not work. I can see in my connection logs that there was a request to 'android.clients.google.com:443 ' after I pressed enter. So does that mean the script is running normally? It's probably my google account's faulty setting since I'm the only one encountered this issue, will check again later, thanks again.

djsudduth commented 1 year ago

@Jimmy2times - sorry it didn't work for you. Another option for you is to install Virtualbox with a fresh Linux install and shared disk - you can run KIM there (probably too much effort but you could try it). Or, you could try installing pyenv and see if a new environment with python solves it.

PS - The next version of KIM will have export markdown from the Google Takeout backups from Keep which won't require the API call.