小编Luc*_*ior的帖子

Google Drive API - 很抱歉......但您的计算机或网络可能正在发送自动查询

我们有一个 Google Drive Oauth2 应用程序集成。我们正在使用 Google Drive API 导出并获取端点,以便从我们的客户的 Google Drive 文件夹中读取数据。我们的应用程序由 Google Oauth 验证团队发布,但我们无法读取不是(csv、xls、xlsx)Google Docs 文件的文件。

这是一个 API 请求示例: URL:

"https://www.googleapis.com/drive/v3/files/1874uz4MTNer4IszgWG_3pH6VEH2AWJPd?alt=media&access_token=ACCESS_TOKEN"
Run Code Online (Sandbox Code Playgroud)

回复:

"<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 …
Run Code Online (Sandbox Code Playgroud)

google-contacts-api

5
推荐指数
1
解决办法
3118
查看次数

标签 统计

google-contacts-api ×1