Google Sheets API上的错误403 [英] Error 403 on Google Sheets API

查看:92
本文介绍了Google Sheets API上的错误403的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

URL

https://sheets.googleapis.com/v4/spreadsheets/[ID_OF_SPREADSHEET]?key=[MY_API_KEY]

我得到的

   {
      "error": {
        "code": 403,
        "message": "The caller does not have permission",
        "status": "PERMISSION_DENIED"
      }
    }

目前,为了测试,我的API密钥没有密钥限制.

At the moment, I have no Key Restriction on my API Key for the sake of testing.

我有一个看看过去很受欢迎但没有运气的问题.

推荐答案

我在电子应用程序中遇到了同样的问题

i faced same issue in my electron app

我刚刚做

https://console.developers.google.com/

然后

choose library->google sheet->enable 

那它开始对我起作用

这篇关于Google Sheets API上的错误403的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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