Google Drive API 返回 429 错误以在 us-east-1 AWS 内创建文件,但不在其他区域中创建文件

问题描述 投票:0回答:1

当我的应用程序尝试创建文件时,我收到此错误。

但是,它不会发生在本地,也不会发生在其他 AWS 区域。

 raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 429 when requesting https://www.googleapis.com/upload/drive/v3/files?fields=id&supportsAllDrives=true&alt=json&uploadType=multipart returned "Too Many Requests". Details: "<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>Sorry...</title><style> body { font-family: verdana, arial, sans-serif; background-color: #fff; color: #000; }</style></head><body><div><table><tr><td><b><font face=sans-serif size=10><font color=#4285f4>G</font><font color=#ea4335>o</font><font color=#fbbc05>o</font><font color=#4285f4>g</font><font color=#34a853>l</font><font color=#ea4335>e</font></font></b></td><td style="text-align: left; vertical-align: bottom; padding-bottom: 15px; width: 50%"><div style="border-bottom: 1px solid #dfdfdf;">Sorry...</div></td></tr></table></div><div style="margin-left: 4em;"><h1>We're sorry...</h1><p>... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now.</p></div><div style="margin-left: 4em;">See <a href="https://support.google.com/websearch/answer/86640">Google Help</a> for more information.<br/><br/></div><div style="text-align: center; border-top: 1px solid #dfdfdf;"><a href="https://www.google.com">Google Home</a></div></body></html>">

我在本地运行它并且它有效,我在另一个区域运行它并且它有效,它只是到目前为止在特定区域内不起作用,并且它突然开始变得像这样。

python amazon-web-services aws-lambda google-drive-api
1个回答
0
投票

我们也遇到过同样的问题! 这在 9 月 26 日一整天都抛出错误,在 9 月 27 日得到解决,然后在 9 月 29 日一整天又开始发生。 只有来自 AWS US-EAST-1 的调用失败。 请随时发布此帖子并以这种方式发布任何更新。 谢谢!

© www.soinside.com 2019 - 2024. All rights reserved.