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"
]
}
}
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.
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)
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!