I'm trying to load my sheet contents by calling it as a json endpoint.
fetch("https://spreadsheets.google.com/feeds/list/MYSHEETID/1/public/values?alt=json")
.then(res => res.json())
.then(json => {
const data = [] /* this array will eventually be populated with the contents of the spreadsheet's rows */
I'm using the method described at https://benborgers.com/posts/google-sheets-json
It works about 30% of the time and I get a 404 the other 70% of the time. I've been struggling with it for days and can't figure out why it's failing.