You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-3Lines changed: 23 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -27,11 +27,31 @@ chmod +x gkeep2notion.py
27
27
28
28
### Preventing "Authentication failed" on some systems
29
29
30
-
On some systems the authentication fails even with valid credentials. This may happen because of two reasons: either Google issues a CAPTCHA for your IP address, or SSL certificate validation fails.
30
+
On some systems the authentication fails even with valid credentials. This may happen because of three reasons:
31
+
1. You have enabled 2FA on your account
32
+
2. Google issues a CAPTCHA for your IP address
33
+
3. SSL certificate validation fails.
31
34
32
-
To fix the CAPTCHA problem, try using the [Unlock CAPTCHA link](https://accounts.google.com/DisplayUnlockCaptcha) before retrying login.
33
35
34
-
To try fixing the SSL problem, revert to an older version of the following library:
36
+
**To fix the 2FA problem:**
37
+
38
+
You need to create an app specific password for the script.
39
+
40
+
1. Go to https://myaccount.google.com/apppasswords
41
+
2. Login to your account
42
+
3. Under the `Select the app and device you want to generate the app password for.` section:
43
+
1. Select `Other(Custom name)` from the `Select app` dropdown
44
+
2. Enter some name like `gkeep2notion` and click on `Generate` button
45
+
3. Copy password from the popup and click Done
46
+
4. Use this copied password in your terminal when script prompts for password
47
+
48
+
**To fix the CAPTCHA problem:**
49
+
50
+
Try using the [Unlock CAPTCHA link](https://accounts.google.com/DisplayUnlockCaptcha) before retrying login.
51
+
52
+
**To try fixing the SSL problem:***
53
+
54
+
Revert to an older version of the following library:
0 commit comments