n8n errors / Auth
The access token is invalid or has expired
Cause
The OAuth2 HTTP node cannot auto-refresh because the API never issued a refresh token during the initial authorization.
Fix
Edit the credential and add the offline-access parameter to the Auth URI (for Google: access_type=offline&prompt=consent), then re-authorise to get a refresh token. If the API has no refresh tokens, store the token externally and inject it via an expression before each request.
Part of the Automation Error Index — n8n errors: browse all.
Hitting an automation error we have not covered?
AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.
Describe the problem