Google Drive API错误每日超出未经验证的使用限制 [英] Google Drive API Error Daily Limit for Unauthenticated Use Exceeded
问题描述
我在使用Google API时遇到错误。
有权与Google云端硬盘建立连接,并添加新表单并向其中添加数据。
它一直工作到昨天,但是当我今天运行应用程序时。
获取错误:
用户给出令牌并尝试访问DRIVE API以获取所有文件后出现错误
域名:usageLimits
extendedHelp:https://code.google.com/apis/console
消息:每日限额未经验证的使用超出。继续使用需要注册。
原因:dailyLimitExceededUnreg
我没有更改任何设置。
以下API可用于我的应用程序访问令牌。我必须添加/启用更多的API才能使其工作。
问题出在获取访问令牌时。我没有提供正确的范围。
当我将范围更改为
https://spreadsheets.google.com/feeds https://docs.google .com / feeds
https://www.googleapis.com/auth /drive.file
工作正常
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 :
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"
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/feeds https://www.googleapis.com/auth/drive.file
it worked fine
这篇关于Google Drive API错误每日超出未经验证的使用限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!