Google "We're sorry, no servers are currently available. Please wait a bit and try again." .addToFolder

StackOverflow https://stackoverflow.com/questions/22716059

  •  23-06-2023
  •  | 
  •  

Question

This code used to run fine for over a year now. It's a simple convert to pdf then put it in a folder.

var pdf = model.getAs("application/pdf");
var file = DocsList.createFile(pdf).addToFolder(foldersave);

All of a sudden:

We're sorry, no servers are currently available. Please wait a bit and try again.

Now on every run. Bombs on the 2nd line. Not 1st.

Was it helpful?

Solution

This is a known problem with the new Sheets and creating PDF's. The bug is here:

https://code.google.com/p/google-apps-script-issues/issues/detail?id=3579

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top