You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am not able to generate pdf file from google doc template using the Create file from template action.
To Reproduce
Steps to reproduce the behavior:
Create a file in google drive and get the id
Create a workflow with the Google drive - Create file from template action
In the mode field, select the pdf option
Test the step
Expected behavior
Pdf file created at the expected location.
Current behavior
FetchError
invalid json response body at https://www.googleapis.com/upload/drive/v3/files?uploadType=multipart&alt=json reason: Unexpected token '<', "<html><hea"... is not valid JSON
Stack trace:
at null.null (/tmp/__pdg__/dist/code/5a57c33732a575ac4ba9957da31e30c2a6f0a06d3587913bbc68d06658a177dd/node_modules/.pnpm/[email protected]/node_modules/node-fetch/lib/index.js:273:32)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at null.null (/tmp/__pdg__/dist/code/5a57c33732a575ac4ba9957da31e30c2a6f0a06d3587913bbc68d06658a177dd/node_modules/.pnpm/[email protected]/node_modules/google-docs-mustaches/lib/apis/fetch.js:25:27)
at Object.run (file:///tmp/__pdg__/dist/code/5a57c33732a575ac4ba9957da31e30c2a6f0a06d3587913bbc68d06658a177dd/code/actions/create-file-from-template/create-file-from-template.mjs:91:21)
at null.executeComponent (/var/task/launch_worker.js:292:22)
at MessagePort.messageHandler (/var/task/launch_worker.js:792:28)
Additional context
Component version : 0.1.5
It seams to be an error in the google-docs-mustaches package
The text was updated successfully, but these errors were encountered:
LucBerge
changed the title
[BUG] Google Drive - Cannot create file from template
[BUG] Google Drive - Cannot create pdf file from google doc template
Sep 30, 2024
Describe the bug
I am not able to generate pdf file from google doc template using the
Create file from template
action.To Reproduce
Steps to reproduce the behavior:
Google drive - Create file from template
actionmode
field, select thepdf
optionExpected behavior
Pdf file created at the expected location.
Current behavior
Additional context
0.1.5
google-docs-mustaches
packageThe text was updated successfully, but these errors were encountered: