[GH-ISSUE #539] XOAuth Error (same as #524) #458

Closed
opened 2026-02-26 01:30:38 +03:00 by kerem · 9 comments
Owner

Originally created by @eriji on GitHub (Mar 9, 2015).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/539

Original issue #524 from Pseudomous:
Hello, this was working great but suddenly got the XOAuth error. IMAP is enabled. While I do have 2-step verification enabled, the program worked fine with it before. Please help. Have deleted and reinstalled but same error... many thanks.

i have a oneplus one phone.


I have a Samsung Galaxy S4
I'm having the same problem as pseudomous above. I have 2-step verification, SMS Backup+ worked until Dec 14, then stopped working. Have not been able to get this working since.

Get "XOAuth authorization error. Please make sure you enabled IMAP in your Gmail account settings"

IMAP is and has been enabled.

Here is the Log:
03-08 20:08 Backup requested (manual)
03-08 20:08 Starting backup (MANUAL)
03-08 20:08 Backing up (916 SMS, 0 MMS, 163 call log)
03-08 20:08 Using config: BackupConfig{imap=BackupImapStore{uri=imap+ssl+://XOAUTH2:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX@imap.gmail.com:993}, skip=false, currentTry=0, maxItemsPerSync=-1, groupToBackup=ContactGroup{_id=-1, type=EVERYBODY}, backupType=MANUAL, debug=true, typesToBackup=[SMS, MMS, CALLLOG, WHATSAPP]}
03-08 20:08 need to perform xoauth2 token refresh
03-08 20:08 error refreshing token: com.zegoggles.smssync.auth.TokenRefreshException: android.accounts.AuthenticatorException: User intervention required. Notification has been pushed., cause=android.accounts.AuthenticatorException: User intervention required. Notification has been pushed.
03-08 20:08 Authentication error: Command: sensitive; response: #2# [NO, [ALERT], Invalid credentials (Failure)](exception: com.fsck.k9.mail.store.XOAuth2AuthenticationFailedException: Command: sensitive; response: #2# [NO, [ALERT], Invalid credentials %28Failure%29])
03-08 20:08 BackupState{currentSyncedItems=0, itemsToSync=0, backupType=MANUAL, exception=com.fsck.k9.mail.store.XOAuth2AuthenticationFailedException: Command: sensitive; response: #2# [NO, [ALERT], Invalid credentials (Failure)], state =ERROR}
03-08 20:08 Backup finished
03-08 20:10 Backup requested (manual)
03-08 20:10 Starting backup (MANUAL)
03-08 20:10 Backing up (916 SMS, 0 MMS, 163 call log)
03-08 20:10 Using config: BackupConfig{imap=BackupImapStore{uri=imap+ssl+://XOAUTH2:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX@imap.gmail.com:993}, skip=false, currentTry=0, maxItemsPerSync=-1, groupToBackup=ContactGroup{_id=-1, type=EVERYBODY}, backupType=MANUAL, debug=true, typesToBackup=[SMS, MMS, CALLLOG, WHATSAPP]}
03-08 20:10 need to perform xoauth2 token refresh
03-08 20:10 error refreshing token: com.zegoggles.smssync.auth.TokenRefreshException: android.accounts.AuthenticatorException: User intervention required. Notification has been pushed., cause=android.accounts.AuthenticatorException: User intervention required. Notification has been pushed.
03-08 20:10 Authentication error: Command: sensitive; response: #2# [NO, [ALERT], Invalid credentials (Failure)](exception: com.fsck.k9.mail.store.XOAuth2AuthenticationFailedException: Command: sensitive; response: #2# [NO, [ALERT], Invalid credentials %28Failure%29])
03-08 20:10 BackupState{currentSyncedItems=0, itemsToSync=0, backupType=MANUAL, exception=com.fsck.k9.mail.store.XOAuth2AuthenticationFailedException: Command: sensitive; response: #2# [NO, [ALERT], Invalid credentials (Failure)], state =ERROR}
03-08 20:10 Backup finished

Originally created by @eriji on GitHub (Mar 9, 2015). Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/539 Original issue #524 from Pseudomous: Hello, this was working great but suddenly got the XOAuth error. IMAP is enabled. While I do have 2-step verification enabled, the program worked fine with it before. Please help. Have deleted and reinstalled but same error... many thanks. i have a oneplus one phone. --- I have a Samsung Galaxy S4 I'm having the same problem as pseudomous above. I have 2-step verification, SMS Backup+ worked until Dec 14, then stopped working. Have not been able to get this working since. Get "XOAuth authorization error. Please make sure you enabled IMAP in your Gmail account settings" IMAP is and has been enabled. Here is the Log: 03-08 20:08 Backup requested (manual) 03-08 20:08 Starting backup (MANUAL) 03-08 20:08 Backing up (916 SMS, 0 MMS, 163 call log) 03-08 20:08 Using config: BackupConfig{imap=BackupImapStore{uri=imap+ssl+://XOAUTH2:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX@imap.gmail.com:993}, skip=false, currentTry=0, maxItemsPerSync=-1, groupToBackup=ContactGroup{_id=-1, type=EVERYBODY}, backupType=MANUAL, debug=true, typesToBackup=[SMS, MMS, CALLLOG, WHATSAPP]} 03-08 20:08 need to perform xoauth2 token refresh 03-08 20:08 error refreshing token: com.zegoggles.smssync.auth.TokenRefreshException: android.accounts.AuthenticatorException: User intervention required. Notification has been pushed., cause=android.accounts.AuthenticatorException: User intervention required. Notification has been pushed. 03-08 20:08 Authentication error: Command: _sensitive_; response: #2# [NO, [ALERT], Invalid credentials (Failure)](exception: com.fsck.k9.mail.store.XOAuth2AuthenticationFailedException: Command: *sensitive*; response: #2# [NO, [ALERT], Invalid credentials %28Failure%29]) 03-08 20:08 BackupState{currentSyncedItems=0, itemsToSync=0, backupType=MANUAL, exception=com.fsck.k9.mail.store.XOAuth2AuthenticationFailedException: Command: _sensitive_; response: #2# [NO, [ALERT], Invalid credentials (Failure)], state =ERROR} 03-08 20:08 Backup finished 03-08 20:10 Backup requested (manual) 03-08 20:10 Starting backup (MANUAL) 03-08 20:10 Backing up (916 SMS, 0 MMS, 163 call log) 03-08 20:10 Using config: BackupConfig{imap=BackupImapStore{uri=imap+ssl+://XOAUTH2:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX@imap.gmail.com:993}, skip=false, currentTry=0, maxItemsPerSync=-1, groupToBackup=ContactGroup{_id=-1, type=EVERYBODY}, backupType=MANUAL, debug=true, typesToBackup=[SMS, MMS, CALLLOG, WHATSAPP]} 03-08 20:10 need to perform xoauth2 token refresh 03-08 20:10 error refreshing token: com.zegoggles.smssync.auth.TokenRefreshException: android.accounts.AuthenticatorException: User intervention required. Notification has been pushed., cause=android.accounts.AuthenticatorException: User intervention required. Notification has been pushed. 03-08 20:10 Authentication error: Command: _sensitive_; response: #2# [NO, [ALERT], Invalid credentials (Failure)](exception: com.fsck.k9.mail.store.XOAuth2AuthenticationFailedException: Command: *sensitive*; response: #2# [NO, [ALERT], Invalid credentials %28Failure%29]) 03-08 20:10 BackupState{currentSyncedItems=0, itemsToSync=0, backupType=MANUAL, exception=com.fsck.k9.mail.store.XOAuth2AuthenticationFailedException: Command: _sensitive_; response: #2# [NO, [ALERT], Invalid credentials (Failure)], state =ERROR} 03-08 20:10 Backup finished
kerem closed this issue 2026-02-26 01:30:38 +03:00
Author
Owner

@eriji commented on GitHub (Mar 9, 2015):

I did try a disconnect and reconnect. The reconnect failed with a similar error.

<!-- gh-comment-id:77784576 --> @eriji commented on GitHub (Mar 9, 2015): I did try a disconnect and reconnect. The reconnect failed with a similar error.
Author
Owner

@jberkel commented on GitHub (Mar 9, 2015):

thanks for the detailed report. the log says User intervention required. Notification has been pushed. Looks like some manual user intervention is required to refresh the token.

<!-- gh-comment-id:77785699 --> @jberkel commented on GitHub (Mar 9, 2015): thanks for the detailed report. the log says `User intervention required. Notification has been pushed.` Looks like some manual user intervention is required to refresh the token.
Author
Owner

@jberkel commented on GitHub (Mar 9, 2015):

did you get a system notification when the error happened? it should be a password prompt or similar.

<!-- gh-comment-id:77845031 --> @jberkel commented on GitHub (Mar 9, 2015): did you get a system notification when the error happened? it should be a password prompt or similar.
Author
Owner

@eriji commented on GitHub (Mar 9, 2015):

No, I was waiting for something, and looked for it, but there was no
indication anywhere that login was waiting.

Other programs using authorization might forward you to the browser to
"finish" logging in, some use the one-time tokens (which require password
entry), and most of them now just have a screen come up that says what
information is being shared, permissions, etc, and to accept.

--eric powell


eric powell
po box 129, orangeburg, sc 29116-0129
803-997-0707 - fax 877-885-8830
epowell@pobox.com

On Mon, Mar 9, 2015 at 8:33 AM, Jan Berkel notifications@github.com wrote:

did you get a system notification when the error happened? it should be a
password prompt or similar.


Reply to this email directly or view it on GitHub
https://github.com/jberkel/sms-backup-plus/issues/539#issuecomment-77845031
.

<!-- gh-comment-id:77855274 --> @eriji commented on GitHub (Mar 9, 2015): No, I was waiting for something, and looked for it, but there was no indication anywhere that login was waiting. Other programs using authorization might forward you to the browser to "finish" logging in, some use the one-time tokens (which require password entry), and most of them now just have a screen come up that says what information is being shared, permissions, etc, and to accept. --eric powell --- eric powell po box 129, orangeburg, sc 29116-0129 803-997-0707 - fax 877-885-8830 epowell@pobox.com On Mon, Mar 9, 2015 at 8:33 AM, Jan Berkel notifications@github.com wrote: > did you get a system notification when the error happened? it should be a > password prompt or similar. > > — > Reply to this email directly or view it on GitHub > https://github.com/jberkel/sms-backup-plus/issues/539#issuecomment-77845031 > .
Author
Owner

@jberkel commented on GitHub (Mar 9, 2015):

Ok, that's weird. Android should handle this case (as it says in the log: Notification has been pushed.) I'll see if I can reproduce it.

<!-- gh-comment-id:77861238 --> @jberkel commented on GitHub (Mar 9, 2015): Ok, that's weird. Android should handle this case (as it says in the log: Notification has been pushed.) I'll see if I can reproduce it.
Author
Owner

@eriji commented on GitHub (Mar 10, 2015):

Jan,

Something was bugging me about having seen something about Google and
XOAuth changing recently, and when I got some time I searched for it and
found some tweets by searching for "Google Authentication API". They
indicated that there was a problem with an error similar to what I was
experiencing that caused odd authentication problems over a variety of apps.

After reading that, I tried the SMS Backup+ authentication again, and it
worked fine now. It appears it was a Google problem and temporary.

I'm sorry that you were chasing a problem that turned out to be Google's
problem. Thanks for responding to my inquiry so quickly.

Everything seems to work fine now.

Cheers,
--eric powell

On Mon, Mar 9, 2015 at 10:18 AM Jan Berkel notifications@github.com wrote:

Ok, that's weird. Android should handle this case (as it says in the log:
Notification has been pushed.) I'll see if I can reproduce it.


Reply to this email directly or view it on GitHub
https://github.com/jberkel/sms-backup-plus/issues/539#issuecomment-77861238
.

<!-- gh-comment-id:77976805 --> @eriji commented on GitHub (Mar 10, 2015): Jan, Something was bugging me about having seen something about Google and XOAuth changing recently, and when I got some time I searched for it and found some tweets by searching for "Google Authentication API". They indicated that there was a problem with an error similar to what I was experiencing that caused odd authentication problems over a variety of apps. After reading that, I tried the SMS Backup+ authentication again, and it worked fine now. It appears it was a Google problem and temporary. I'm sorry that you were chasing a problem that turned out to be Google's problem. Thanks for responding to my inquiry so quickly. Everything seems to work fine now. Cheers, --eric powell On Mon, Mar 9, 2015 at 10:18 AM Jan Berkel notifications@github.com wrote: > Ok, that's weird. Android should handle this case (as it says in the log: > Notification has been pushed.) I'll see if I can reproduce it. > > — > Reply to this email directly or view it on GitHub > https://github.com/jberkel/sms-backup-plus/issues/539#issuecomment-77861238 > .
Author
Owner

@eriji commented on GitHub (Mar 10, 2015):

Something was bugging me about having seen something about Google and XOAuth changing recently, and when I got some time I searched for it and found some tweets by searching for "Google Authentication API". They indicated that there was a problem with an error similar to what I was experiencing that caused odd authentication problems over a variety of apps.

After reading that, I tried the SMS Backup+ authentication again, and it worked fine now. It appears it was a Google problem and temporary.

<!-- gh-comment-id:77976823 --> @eriji commented on GitHub (Mar 10, 2015): Something was bugging me about having seen something about Google and XOAuth changing recently, and when I got some time I searched for it and found some tweets by searching for "Google Authentication API". They indicated that there was a problem with an error similar to what I was experiencing that caused odd authentication problems over a variety of apps. After reading that, I tried the SMS Backup+ authentication again, and it worked fine now. It appears it was a Google problem and temporary.
Author
Owner

@jberkel commented on GitHub (Mar 10, 2015):

cool, thanks for the research!

<!-- gh-comment-id:77976980 --> @jberkel commented on GitHub (Mar 10, 2015): cool, thanks for the research!
Author
Owner

@danyeungw commented on GitHub (May 28, 2015):

After you searched for "Google Authentication API", what did you do to make it work? I got the same issue. Thanks.

<!-- gh-comment-id:106354653 --> @danyeungw commented on GitHub (May 28, 2015): After you searched for "Google Authentication API", what did you do to make it work? I got the same issue. Thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sms-backup-plus-jberkel#458
No description provided.