问题描述
我在使用 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设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)