react-google-sheets icon indicating copy to clipboard operation
react-google-sheets copied to clipboard

404 errors

Open zhuber opened this issue 6 years ago • 7 comments

I'm trying to get this running locally and I have the following info all ready to go:

  • Client ID
  • Client Secret
  • API Key
  • Sheet ID

When trying to follow the directions in the readme for this project it results in 404 errors on the request to google sheets API.

Any idea why this is happening?

zhuber avatar Aug 17 '18 16:08 zhuber

Same problem

Sfredr01 avatar Jul 07 '19 18:07 Sfredr01

i've facing same problem

tahirakbar1 avatar Sep 24 '19 07:09 tahirakbar1

I solved this by updating the "share" settings of my spreadsheet to be "anyone with a link"

jshjohnson avatar Jan 13 '20 12:01 jshjohnson

The gapi.js version used in the repo is old. It should use the https://apis.google.com/js/api.js cdn or make an update using the newest one. To make it work you need to fork the project and update gapi.js or update it "by hand" in your node_modules/react-google-sheets/google-sheet-connector/gapi.js and add the contents from https://apis.google.com/js/api.js . Keep the last line where it says module.exports = gapi;

Ctsavas avatar Feb 02 '20 15:02 Ctsavas

I tried updating the google-sheet-connector/gapi.js and also setting my sheet to public still didn't work

vinc4 avatar Mar 29 '20 23:03 vinc4

Can confirm also getting a 404 here

joseph-allen avatar May 07 '20 10:05 joseph-allen

I followed this tutorial instead of got it working https://blog.416serg.me/building-an-app-using-google-sheets-api-react-d69681d22ce1

joseph-allen avatar May 07 '20 11:05 joseph-allen