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.LoginException: Not logged in

See original GitHub issue

I can’t seem to Login I Keep getting this gkeepapi.LoginException: Not logged in Exception

Traceback (most recent call last):
  File "keep.py", line 45, in <module>
    keep.sync()
  File "/Library/Python/2.7/site-packages/gkeepapi/__init__.py", line 449, in sync
    labels=[i.save() for i in self._labels.values()] if labels_updated else None,
  File "/Library/Python/2.7/site-packages/gkeepapi/__init__.py", line 211, in changes
    json=params
  File "/Library/Python/2.7/site-packages/gkeepapi/__init__.py", line 131, in send
    raise LoginException('Not logged in')
gkeepapi.LoginException: Not logged in

Am I missing something?

Edit: Tried adding delay after Login using time.sleep(10), Still got the same exception.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lopespazcommented, Nov 17, 2017

You can try this:

This worked for me.

Good luck.

0reactions
arunk140commented, Nov 23, 2017

It returns “True”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Login Exception · Issue #32 · kiwiz/gkeepapi - GitHub
When trying keep.login I get the following error: gkeepapi.exception.LoginException: (u'NeedsBrowser', u'To access your account, ...
Read more >
How to use the gkeepapi.exception.LoginException function in ...
To help you get started, we've selected a few gkeepapi.exception.LoginException examples ... if no_label: label = None log.info("Will not create a label.
Read more >
gkeepapi Documentation
LoginException when. I try to log in. This usually occurs when Google thinks the login request looks suspicious. Here are some steps you...
Read more >
gkeepapi - Bountysource
gkeepapi.exception.LoginException: ('NeedsBrowser', 'To access your account, you must sign in on the web. Touch Next to start browser sign-in.') Running this ...
Read more >
Using Python package gkeepapi to access Google Keep
In order not to disclose the account password, here I read my account password in Json format. try: success = keep.login( ...
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