Google Cloud Service Credentials Error

Describe the problem/error/question

I have a workflow that uses google cloud service node and every day I have to sign back in with the credentials. I thought at first it might be something with the way I set up credentials in google but I use the same client ID and Secret in other workflows (different credentials) but they all work properly as expected, without having to constantly reauthorize the credentials.

What is the error message (if any)?

{
“errorMessage”: “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. [item 0]”,
“errorDetails”: {
“rawErrorMessage”: [
“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.”
],
“httpCode”: “EAUTH”
},
“n8nDetails”: {
“nodeName”: “Save Audio1”,
“nodeType”: “n8n-nodes-base.googleCloudStorage”,
“nodeVersion”: 1,
“resource”: “object”,
“operation”: “create”,
“itemIndex”: 0,
“runIndex”: 0,
“time”: “2/1/2025, 1:02:25 PM”,
“n8nVersion”: “1.76.1 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeApiError: 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.”,
" at ExecuteSingleContext.httpRequestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/node-execute-functions.js:1199:15)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at ExecuteSingleContext.httpRequestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/node-execute-functions.js:1476:20)“,
" at RoutingNode.rawRoutingRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/routing-node.js:319:29)”,
" at RoutingNode.makeRoutingRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/routing-node.js:405:28)“,
" at async Promise.allSettled (index 0)”,
" at RoutingNode.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/routing-node.js:140:35)“,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:683:23)”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:890:51",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1224:20"
]
}
}

Information on your n8n setup

  • n8n version:: not sure 1.75.2 (whatever the latest version is with coolify)
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):: on VPS docker via coolify
  • Operating system:: Ubuntu

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:

I have the same error, to make it go away I go to the authorization settings every time and re-enter under my google account and give access, but this is a temporary solution to the problem…

1 Like

Did you try setting the “Publishing status” to “In production” in Google Cloud?

I got the same issue reappear even after publishing.
What would be the issue?


Came accross the same issue;

Fixed it for me.