-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Closed
Labels
bugSomething isn't workingSomething isn't workingtriagedFor maintainers: This issue has been triaged by a Pipedream employeeFor maintainers: This issue has been triaged by a Pipedream employee
Description
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 thepdf
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
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriagedFor maintainers: This issue has been triaged by a Pipedream employeeFor maintainers: This issue has been triaged by a Pipedream employee
Type
Projects
Status
Done