Apps Script failed with error: Empty response

huangapple go评论78阅读模式
英文:

Apps Script failed with error: Empty response

问题

我将所有的数据从BigQuery迁移到了一个特定的区域(europe-west2)几周前。从那以后,我一直在我以前从未遇到过的所有Apps Script中不断收到"Empty Response"错误,例如:

对bigquery.jobs.query的API调用失败,错误为:Empty response

除了区域更改,没有任何其他变化。错误也是间歇性的,以至于我创建了一个解决方法,它会立即尝试相同的"Bigquery.jobs.insert"操作,获得有效的响应。

有没有人知道为什么会发生这种情况?有没有人遇到相同的问题?

提前感谢
Dave

问题是间歇性的,所以运行完全相同的脚本和请求会"修复"问题。这真的很难调试,因为它是间歇性的。

英文:

I moved all of my data in BigQuery to a specific region (europe-west2) a few weeks ago. Since then I keep getting "Empty Response" errors in all of my Apps Script that I've never had before, for example:

API call to bigquery.jobs.query failed with error: Empty response

Nothing else has changed except for the region change. The error is intermittent as well, to the point that I have created a workaround that literally tries the same "Bigquery.jobs.insert" immediately again, with a valid response.

Does anyone have an idea of why this is happening? Has anyone been having the same issue?

Thanks in advance
Dave

The problem is intermittent so literally running the exact same script and request will "fix" the problem. It is really hard to debug because it is intermittent.

答案1

得分: 1

我已经找到一些帖子,指出这个错误是因为Google App脚本不支持上传大于50MB的文件。在这个答案中,用户将文件分割成小于50MB的部分。

另外,您可以参考这个问题跟踪器中关于同一问题的讨论:https://issuetracker.google.com/issues/247052933

英文:

I have found some posts that this error points out that Google App script does not support uploading larger than 50 mb files. In this answer a user splits the files into lower than 50 mb.

Also check this issue tracker for conversation about the same issue for your reference: https://issuetracker.google.com/issues/247052933

huangapple
  • 本文由 发表于 2023年6月26日 16:06:24
  • 转载请务必保留本文链接:https://go.coder-hub.com/76554719.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定