question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

gkeepapi.exception.LoginException: ('BadAuthentication', None)

See original GitHub issue

I tried to run this code , it gives me the error above.

I tried with the Gmail login and password, then with my email login and an “app password” following these step:

  1. Enable 2-step authentication in your Google settings.
  2. Create an app password here: https://myaccount.google.com/apppasswords
  3. Choose for the app other, I named it gkeepapi and I generated a password.
  4. I user the generated password in the scrip instead of my Google password.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:59 (11 by maintainers)

github_iconTop GitHub Comments

4reactions
vanpracommented, Jan 3, 2021

I encountered the same issue on Linux - pinning requests with pip install requests==2.23.0 as described in https://github.com/simon-weber/gpsoauth/issues/24 fixed things for me

4reactions
EthanArbucklecommented, May 28, 2020

try using python3.7.7

Read more comments on GitHub >

github_iconTop Results From Across the Web

gkeepapi Documentation
I get a “NeedsBrowser”, “CaptchaRequired” or “BadAuthentication” exception.LoginException when. I try to log in.
Read more >
gkeepapi - Bountysource
I'm trying to use the API but I'm getting an error: gkeepapi.exception.LoginException: DeviceManagementRequiredOrSyncDisabled.
Read more >
Issues · kiwiz/gkeepapi · GitHub
Convert a gkeepapi.node.Note to gkeepapi.node.List ... gkeepapi.exception.LoginException: ('BadAuthentication', None). #81 opened Mar 21, 2020 by WiliTest.
Read more >
Google Keep Custom Component and Lovelace card
LoginException( gkeepapi.exception.LoginException: ('BadAuthentication', None). brewston (Tim Jones) March 25, 2022, 12:08pm #43.
Read more >
Using Python package gkeepapi to access Google Keep
Here is to log in with keep and use Google account password. If it appears: gkeepapi.exception.LoginException: ('NeedsBrowser', 'To access your ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found