服务调用次数过多:触发器
我们正在尝试实施一套电子表格来处理一组商店的预算数据。一切工作正常,直到我们尝试实现一个电子表格,该电子表格将从所有商店电子表格收集数据并显示统计数据。由于 ImportRange 的限制(每个电子表格文档最多使用 50 次),我们一直在实施 Google 文档脚本来处理数据的导入。但现在,当我们制作了一份文档副本以供每个月使用时,我们遇到了时间触发器的问题。我们设置了一个触发器,每分钟运行一次脚本,这会导致一条错误消息: 服务调用次数过多:触发器。
这里有什么限制?我们如何最好地解决这个问题?
我们还收到一些其他错误消息,并想知道如何解决这些问题;
- 文档 tEHGO48zIBIFYRpb7Xhjwqg 丢失(也许已被删除?)(第 191 行)
- 超过最大执行时间
- 服务错误:电子表格(第 290 行)
我们在哪里可以找到描述不同限制和错误消息的文档?
We are trying to implement a suite of spreadsheets that will handle budget figures for a set of stores. Everything works fine until we try to implement a spreadsheet that will collect data from all store spreadsheets and present statistics. Due to the limitation of ImportRange, of a maximum of 50 uses per spreadsheet doc, we have been implementing a Google docs script instead to handle the importing of data. But now when we have made a copy of the document to have one for each month, we are getting problems with our time triggers. We have setup a trigger to run the script once every minute and that results in an error message stating; Service invoked too many times: trigger.
What are the limitations here? And how do we best solve this?
We are also getting some other error messages and would like to know how to solve these;
- Document tEHGO48zIBIFYRpb7Xhjwqg is missing (perhaps it was deleted?) (line 191)
- Exceeded maximum execution time
- Service error: Spreadsheets (line 290)
Where can we find documentation describing the different limitations and error messages?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
与 Google Apps 脚本一起使用的许多服务的配额限制现已发布在信息中心上,网址为:
https://docs。 google.com/macros/dashboard
Quota Limits for many services used with Google Apps Scripts have now been published on the Dashboard at:
https://docs.google.com/macros/dashboard
刚刚发生在我身上同样的事。似乎有一个未发布的限制:
解决方案是:
对于您的其他错误,我还没有遇到任何类似的情况。您应该发布一些有关脚本的详细信息或发布一些代码,以便我们可以对其进行调试。
Just happened the same to me. It seems there is a non-published limit:
Solutions are:
For your other errors, I haven't encountered any similar. You should post some details on the script or publish some code so we can debug it.