Google slides replace operation node not working. Need help

Problem:

I try to automate Google slides generation with Google Slide node (replace function) with a workflow that was kindly shared by Nick Saraev but I
I get an error message in a Slide Names or IDs section:
“Error fetching options from Google Slides”

Workflow:

Output returned by the last node

{
“errorMessage”: “Bad request - please check your parameters”,
“errorDescription”: “This operation is not supported for this document”,
“errorDetails”: {
“rawErrorMessage”: [
“400 - {"error":{"code":400,"message":"This operation is not supported for this document","status":"FAILED_PRECONDITION"}}”
],
“httpCode”: “400”
},
“n8nDetails”: {
“nodeName”: “Replace text”,
“nodeType”: “n8n-nodes-base.googleSlides”,
“nodeVersion”: 2,
“resource”: “presentation”,
“operation”: “replaceText”,
“time”: “5/15/2025, 1:59:49 PM”,
“n8nVersion”: “1.91.3 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeApiError: Bad request - please check your parameters”,
" at ExecuteContext.googleApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Slides/GenericFunctions.js:61:11)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Slides/GoogleSlides.node.js:526:28)“,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:687:27)”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:921:51",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1257:20"
]
}
}

Information on my n8n setup

  • n8n version: 1.91.3
  • Database: default: SQLite:
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via Docker:
  • Operating system: Ubuntu

The workflow code can not be imported or copied.

Please share it again with full code or you can just download the json file.

1 Like

Seems now I succeded in importing it. Thanks

I test this and good on my end.

Didn’t use OpenAI node thought.

Maybe check you have enabled the Google Slide API?

Or test this simple scenario first to if working on your end too.

Because the error message you get seems two possibility

  1. You don’t have the permisson.
  2. The data from OpenAI might not be correct entirely.
1 Like

I will try with different account, because I triple checked everything in current google cloud API and enabled everything I could. So maybe yes, problem is with account itself. I will test with new and give my feedback on reults.

Thank you very much for your help!

Hello! I tried today your simple workflow - and got the same problem after applying new credentials and enabling API for Slides and Drive. (Double checked scopes - everything was right)


By the way - I did not have such problems with sheets node. Only Google Slides.

Also - slides credentials section looks weid: no logo and 2 fields that I did not find any information about inside Documentation:


1 Like

that does look strange, are you on latest version?

1 Like

Have you checked that your “search for” field isn’t in expression mode?

1 Like

I was, then I changed to “most stable version” and used exact version that is on cloud n8n.io - 1.91.3

There is no problem now with the “search for” field. “Slide Names or IDs” field cannot fetch data from a slide somehow…

Guys, thank you all for trying to help! I solved it by creating a new document in google slides and adding a getSlides node before replace text and it suddenly worked!

1 Like

By the way for those who encounter similar “sudden appear of extra fields in credentials section” -
Authorisation URL:
https://accounts.google.com/o/oauth2/v2/auth

And Access token URL:
https://oauth2.googleapis.com/token

1 Like

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