Google Sheets API V4 403错误 [英] Google Sheets API V4 403 Error

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

问题描述

我正在通过Google Sheets V4 REST API和Ruby从电子表格中提取数据:

I am pulling data from a spreadsheet via Google Sheets V4 REST API and Ruby:

https://sheets.googleapis.com /v4/spreadsheets/MASTER_SPREADSHEET_ID/values/A:GH?key = GOOGLE_SERVER_KEY

在删除并重新创建电子表格之前,我一直在进行此工作.现在,我在新电子表格中收到403错误.

I had this working before, until the spreadsheet was removed and recreated. Now I am getting a 403 error with the new spreadsheet.

API:

文档说明您可以在URL后面附加一个API密钥,我是否解释错了?

The Docs state that you can just append the url with an API Key, am I interpreting this wrong?

推荐答案

按照KENdi所说的,您还将获得一个

Following up on what KENdi said, you will also get a

The remote server returned an error: (403) Forbidden.

如果未启用所需服务的API.

If the API for the service you need is not enabled.

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

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