谷歌驱动器API错误403访问未配置 [英] google drive api error 403 Access Not configured

查看:485
本文介绍了谷歌驱动器API错误403访问未配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个Android应用程序,它使用驱动器的SDK来上传图片。昨日花费小时就建立API访问和获取上传到下班后(我得到的总是没有配置相同的错误403接入),今天在工作中另一台计算机上时,我再次得到这个错误。

I am developing an Android app which uses drive sdk to upload an image. After spending yesterday hours on setting up the api access and getting the upload to work (i got always the same error 403 Access not configured), today at work on an other computer, the i get this error again.

我已经把驱动器的SDK和API驱动在昨天的错误消失。这也很奇怪,因为我无处谷歌说,这应该是。

I have turned Drive SDK and Drive API on and yesterday the error disappeared after turning Cloud Storage API on. This is also very weird because I nowhere Google says that this should be on.

我也试图创建一个新的客户端ID与该工作站,这也于事无补指纹。

I also tried to create a new client id with a fingerprint from this workstation, which also doesn't help.

你知道吗?

推荐答案

在你的谷歌API控制台> API接取,你有正确的设置为Android这里和榜样,特别是检查包名称:

Under your Google API Console>API Acess, do you have the right settings for Android here is and example, Especially check the package name:

客户端ID:6756856856-lv3w3qw268df7235w3twtw3tqwq3fg4l3gdi.apps.googleusercontent.com

Client ID: 6756856856-lv3w3qw268df7235w3twtw3tqwq3fg4l3gdi.apps.googleusercontent.com

- 重定向的URI:金塔:IETF:WG:OAuth的:2.0:OOB HTTP:/本地主机

--Redirect URIs: urn:ietf:wg:oauth:2.0:oob http:/localhost

- 应用程序类型:安卓

--Application type: Android

- 软件名称:com.l2c.grants +

--Package name: com.l2c.grants+

- 证书指纹(SHA1):22:22:22:22:22:1A:05:81:22:CB:22​​:22:06:22:2222C:7B:22:22

--Certificate fingerprint (SHA1): 22:22:22:22:22:1A:05:81:22:CB:22:22:06:22:2222C:7B:22:22

- 深层链接:禁用

--Deep Linking: Disabled

这哪里是错误发生的历史,它是用户点击链接后,登录到谷歌,或双方已签署在后您的应用程序上传文件?

Where is this error occuring, is it after the user clicks the link to sign in to google, or after they have signed in and your app is uploading the file?

这篇关于谷歌驱动器API错误403访问未配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆