react-google-sheets
react-google-sheets copied to clipboard
404 errors
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?
Same problem
i've facing same problem
I solved this by updating the "share" settings of my spreadsheet to be "anyone with a link"
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;
I tried updating the google-sheet-connector/gapi.js and also setting my sheet to public still didn't work
Can confirm also getting a 404 here
I followed this tutorial instead of got it working https://blog.416serg.me/building-an-app-using-google-sheets-api-react-d69681d22ce1