Empty pdf when exporting from a google doc

Describe the issue/error/question

I’m trying to generate a pdf from a google doc file.

I’ve tried using the google drive node or the http request node, without success. The PDF that is returned is empty (but the call is successful).

  • I confirm that the file id is good
  • I confirm that the source file is a one page google doc with just a few lines of text
  • I confirm that this file is not in a shared drive

Please share the workflow

I replaced the file parameter to a fake one for obvious reason.

Share the output returned by the last node

This produces an empty pdf report.

How can I export to a valid pdf?

Ok, I confirm the bug on Safari browser only. I tested on Chrome, it works fine.

1 Like

Hi @G-Rom, glad to hear you got it to work on Chrome! I am not an Apple user, so can’t test Safari here. Perhaps @Jon can take a look as to whether downloading files from n8n is a general problem in Safari when he has a bit of time?

1 Like

Hey @G-Rom,

Can you confirm what version of n8n you are using? I have just given it a go and the PDF downloaded had data in it and the correct file size reported in the n8n interface.

1 Like

[email protected]

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