我在使用 Google API 时遇到错误.有权连接 Google Drive 并添加新工作表并将数据插入其中.
Im getting error on using Google API. having right to connect with Google Drive and add new sheet and insert data into it.
它一直工作到昨天,但是当我今天运行应用程序时.我收到错误:
It was working till yesterday but when i run the application today. Im getting error :
用户给出令牌并尝试访问 DRIVE API 以获取所有文件后出现错误
Error appears after users given token and tried to access the DRIVE API to get all the files
domain: "usageLimits"
extendedHelp: "https://code.google.com/apis/console"
message: "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
reason: "dailyLimitExceededUnreg"
我没有更改任何设置.我的应用程序访问令牌启用了以下 API.我是否必须添加/启用更多 API 才能使其工作.
I have not changed any settings. Following API are enables for my application access token. Do i have to add / enable more API to make it work.
问题出在获取访问令牌时.我没有提供正确的范围.当我将范围更改为
The problem was while getting access token. I was not providing correct scopes. When i changed the scope to
https://spreadsheets.google.com/feeds https://docs.google.com/feedshttps://www.googleapis.com/auth/drive.file
效果很好
这篇关于Google Drive API 错误已超出未经身份验证使用的每日限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!