Error in google scripts - DocumentApp.openById

Since a couple of days im having this error:

We're sorry, a server error occurred. Please wait a bit and try again

When this line its executed:

var temp = DocumentApp.openById(newTemplate.getId());

My code was working already, so i think its something internal of Google?

Any help? Thanks a lot

Alejandro

Upvotes: 1

Views: 283

Answers (1)

ziganotschka
ziganotschka

Reputation: 26796

It seems like there is curently a bug

See here and here.

While you might get this error because of e.g. trying to open a non Google Docs document with DocumentApp, it is also possible that your problem is related to the bug.

give it a star to increase visibility.

Upvotes: 1

Related Questions