google drive apps script > “Service unavailable: Docs”?

南笙酒味 提交于 2019-12-24 11:46:58

问题


I have a script that takes a Google spreadsheet writes the text to a Google Doc. When I try to run the function, I get the message in red at the top of the page Service unavailable: Docs (Dismiss). This is new. What does this error mean? Thanks!


回答1:


In addition to @Pierre-Marie Richard's answer, the error Service unavailable: Docs usually happens when you are using an invalid Doc ID.




回答2:


As mentioned in the documentation :

Server not available.
Server error occurred, please try again.
There are a couple possible causes for this error:

  • A Google server or system is temporarily unavailable. Wait for a few moments and try running the script again.
  • There is an error in your script that doesn't have a corresponding error message. Try debugging your script and see if you can isolate the problem.
  • There is a bug in Google Apps Script that is causing this error. Report the error on the issue tracker.


来源:https://stackoverflow.com/questions/44653721/google-drive-apps-script-service-unavailable-docs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!