Reputation: 1202
When trying to connect to the Google IMAP service using the XOAUTH2 mechanism (https://developers.google.com/google-apps/gmail/xoauth2_protocol), I sometimes receive the following error response:
{"status":"400","schemes":"Bearer","scope":"https://mail.google.com/"}
I was wondering if anyone knew what exactly that status 400 was ...
Upvotes: 5
Views: 4768
Reputation: 1001
I had the same issue and I found the solution here. It is due to the Gmail scope("https://mail.google.com/") was missing, from the token generation process.
Upvotes: 1
Reputation: 1202
Error message seems to happen when you use an expired access token.
Upvotes: 1