Google Sheet API v4

后端 未结 3 2138
日久生厌
日久生厌 2020-12-03 22:52

I try to use example \"Read multiple ranges\":

https://sheets.googleapis.com/v4/spreadsheets/{SpreadsheetID}/values:batchGet?ranges=Sheet1!B:B&ran

3条回答
  •  无人及你
    2020-12-03 23:47

    In addition to @skamble89's answer, this 403 error is usually caused by incorrect or missed some configuration in Authorizing Requests. If you're authorizing requests with OAuth 2.0, make sure you use the proper scope with it.

    Make sure you have a permission to call this spreadsheet and you enable the Sheets API in your developer console.

提交回复
热议问题