Google Drive HTTP 403“未配置访问"DrEdit 出错 [英] Google Drive HTTP 403 "Access Not Configured" error with DrEdit

查看:15
本文介绍了Google Drive HTTP 403“未配置访问"DrEdit 出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将适用于 python 的 DrEdit 示例应用程序安装到 GAE 上.应用程序运行,但保存或打开文件会导致 HTTP 403访问未配置错误".

I'm attempting to install the DrEdit sample app for python onto GAE. The app runs, but saving or opening a file results in an HTTP 403 "Access Not Configured Error".

client.json 根据 API 访问>Drive SDK 值的客户端 ID 设置了 client_idclient_secret.我还尝试使用 API 访问>Web 应用程序的客户端 ID 的值.

client.json has client_id and client_secret set per the API Access>Client ID for Drive SDK values. I have also attempted to use the values for API Access>Client ID for web applications.

Google Drive SDK> OAuth 客户端 ID 也被设置为 Drive SDK 和网络应用客户端 ID.

The Google Drive SDK> OAuth Client ID has also been set variously to the Drive SDK and web app Client IDs.

我做错了什么?

推荐答案

在 Google API 控制台的服务部分,有两个与驱动开发相关的服务,SDK 和 API.当您创建新的 Drive SDK 条目时,Drive API 服务不会自动启用(这没有意义,我看不出您何时会在不使用驱动器 API 的情况下创建启用驱动器的应用程序).为项目打开 Drive API 服务,然后重试.

In the services section of the Google API console there are two services relating to drive development, SDK and API. When you create a new Drive SDK entry, Drive API service is not automatically enabled (which doesn't make sense, I don't see when you'd create a drive enabled application without using the drive API). Switch the Drive API service on for the project and try again.

@lurking_googlers 我想很多人都会爱上这个,开启 SDK 的时候开启 API 不是很有意义吗?

@lurking_googlers I think a lot of people will fall for this, doesn't it make sense to enable the API when the SDK is enabled?

这篇关于Google Drive HTTP 403“未配置访问"DrEdit 出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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