"Precondition check failed" with gmail client + oauth2 #3618
Unanswered
jamiedavenport
asked this question in
Q&A
Replies: 2 comments
-
Hi @jamiedavenport, We have the same issue with the Ruby Gmail Client and also using OAuth authentication. When we try to send an email for one of our users, we have this "Precondition check failed" error. For the other users (using other Google Workspace accounts), it works perfectly. And we don't know why it happens for this specific user... |
Beta Was this translation helpful? Give feedback.
0 replies
-
Anyone got this work ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've setup Google OAuth with Lucia and storing the refresh token in the database.
I've tried to create a gmail client like so, using the stored refresh token:
And then listing messages like so:
But I'm getting a
400 - Precondition check failed.
error which is strange to see since most reports talk about this error with service accounts.I'm assuming that I've setup the
OAuth2
client incorrectly but the error messages aren't very helpful. Any help here would be hugely appreciated.Beta Was this translation helpful? Give feedback.
All reactions