Google Drive HTTP 403“未配置访问"错误

问题描述:

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

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

我还尝试将 API 访问>客户端 ID 的值用于 Web 应用程序.Google Drive SDK> OAuth Client ID 也被设置为 Drive SDK 和 Web 应用程序 Client ID.但是,在 Api 访问服务中同时启用(Api、SDK)后,我仍然遇到相同的错误.

I have also attempted to use the values for API Access>Client ID for web applications. The Google Drive SDK> OAuth Client ID has also been set variously to the Drive SDK and web app Client IDs. but, After enabling both (Api, SDK) in Api access service i am still getting same error.

您能否确保在 Google API 控制台上注册您的应用程序并先为其启用 Drive API 和 SDK?

Can you make sure that you register your application on the Google APIs Console and enable the Drive API and SDK for it first?

这里都有描述:https://developers.google.com/drive/register

然后确保您在 DrEdit 的配置文件中使用您的客户端 ID 和客户端密钥.

Then make sure that you use your Client ID and Client Secret in DrEdit's configuration file.