Problem with cresdentials in restart

Hi. I’m using dockerized n8n with a volume for keep information between sessions. I’ve some workflows actives and, when I try to start n8n, it trows me this error:

Activation of workflow “Watch Trigger (Drive) - Files Updated” (XRstsXNPeoBJUsbc) did fail with error: “There was a problem activating the workflow: “The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.”” | retry in x seconds.

Could someone help me disable these workflows?

Thanks in advance.

Debug info

core

  • n8nVersion: 1.72.1
  • platform: docker (self-hosted)
  • nodeJsVersion: 20.18.0
  • database: sqlite
  • executionMode: regular
  • concurrency: -1
  • license: community
  • consumerId: unknown

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: memory

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (x11; ubuntu; linux x86_64; rv:133.0) gecko/20100101 firefox/133.0
  • isTouchDevice: false

Generated at: 2025-01-26T11:36:41.292Z

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Updated. Thanks.

Hi @Roberto_Medina_Cerve

Thanks for posting here and welcome to the community! :tada:

The question is how did you set up your Google Drive credentials, and in particular the GCP app?
Have you checked that the correct API services are enabled?

Also, if your GCP project’s publishing status is in “Testing” the refresh token will expire every 7 days, leading to the authentication failures you’re seeing now. By setting the status to “In production”, you can prevent these recurring issues.

You can read more in our documentation:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.