I’m using the Google Sheets node in n8n, and my OAuth token keeps expiring. Every time it stops working, I have to manually reconnect my Google account in the n8n credentials panel. The error I get is:
“The provided authorization grant or refresh token is invalid, expired, revoked, does not match the redirect URI, or was issued to another client.”
It looks like n8n is not receiving or storing a valid refresh token from Google, so the access token can’t auto-refresh. I need help identifying why the refresh token isn’t sticking. My suspicion is either a redirect URI mismatch, the OAuth client being in Testing mode, or Google not issuing a refresh token at all.
Can you help me troubleshoot how to make the Google Sheets credential stay authenticated permanently without needing manual reconnection?