Google drive api 403使用Client_Secret.JSON文件连接到google电子表格API时出现权限拒绝错误

Google drive api 403使用Client_Secret.JSON文件连接到google电子表格API时出现权限拒绝错误,google-drive-api,Google Drive Api,我能够使用client_secret.json follow在我的应用程序中使用GoogleSpreadsheets API查询GoogleSpreadsheets 但是,使用我的应用程序的其他人收到403权限拒绝错误 使用开发者控制台,我可以为项目创建一个新用户,但这只是返回我已经拥有的client_secret.json文件 如何授予用户权限 INFO:oauth2client.client:Refreshing access_token ERROR:kernel_admin

我能够使用client_secret.json follow在我的应用程序中使用GoogleSpreadsheets API查询GoogleSpreadsheets

但是,使用我的应用程序的其他人收到403权限拒绝错误

使用开发者控制台,我可以为项目创建一个新用户,但这只是返回我已经拥有的client_secret.json文件

如何授予用户权限

    INFO:oauth2client.client:Refreshing access_token
    ERROR:kernel_admin.__main__:{
      "error": {
        "code": 403,
        "message": "Google Sheets API has not been used in project     
626378963637 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/sheets.googleapis.com/overview?project=626378963637 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
    "status": "PERMISSION_DENIED",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.Help",
        "links": [
          {
            "description": "Google developers console API activation",
            "url": "https://console.developers.google.com/apis/api/sheets.googleapis.com/overview?project=626378963637"
          }
        ]
      }
    ]
  }
}

首先转到Google开发控制台并启用工作表API:


要为驱动器中的文件(包括谷歌电子表格)创建权限,请使用。

是否在API控制台启用了工作表API?如果你已经这么做了,我很抱歉。谢谢。我能够启用API表,但当我的CLI用户转到此页面时,他们无法单击“启用”选项卡。用户是否需要转到此页面,或者他们是否需要不同的client_secret.json文件?此页面仅适用于应用程序的创建者u,不适用于您的用户。好的,如何允许用户使用应用程序?