Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load resource from spreadsheets.google.com - Google jsonp persistent 404 #1

Open
schlos opened this issue Aug 19, 2021 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@schlos
Copy link
Member

schlos commented Aug 19, 2021

Site is failing to load spreadsheet data: https://dev.codeforcroatia.org/PredizborniProgrami/

Console error:

Failed to load resource: the server responded with a status of 404 (), https://spreadsheets.google.com/feeds/worksheets/1wo_D2bJji_Sbq_tmuvOIlzbSst7Mbl5_TjoB769xVLI/public/basic?alt=json

lib.min.js:1 SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at XMLHttpRequest.n.onload (lib.min.js:1)
n.onload @ lib.min.js:1

lib.min.js:1 Uncaught TypeError: Cannot read property 'feed' of undefined
    at loadSheets (lib.min.js:1)
    at XMLHttpRequest.n.onload (lib.min.js:1)

Code:

Related:

@schlos schlos added the help wanted Extra attention is needed label Aug 19, 2021
@schlos schlos changed the title Failed to load resource from spreadsheets.google.com - Google jsonp intermittent 404 Failed to load resource from spreadsheets.google.com - Google jsonp persistent 404 Aug 19, 2021
@schlos
Copy link
Member Author

schlos commented Aug 19, 2021

@schlos
Copy link
Member Author

schlos commented Aug 19, 2021

Help wanted:

  • develop a formal Pull Reqyest to address the changes required to support Sheets API v4.

@rodik
Copy link

rodik commented Nov 4, 2021

tabletop.js is outdated:
jsoma/tabletop#199

solution:
https://github.com/frrrrank/Google-Sheet-Stuff

@schlos
Copy link
Member Author

schlos commented Nov 9, 2021

https://frankbueltge.de/en/google-sheets-as-database-or-tiny-cms/

Since tabletop.js is dead and not compatible with the current Google API v4 (2021) I had to look for a new solution or alternative to export data from Google Sheets via JSON and import it to a web page.
In this case the holy grail is Papa Parse. Additionally, I’m using isotope.js to add a fancy quick search and a “filter by category” option. For hipsters, I can even offer a solution in vue.js

@schlos
Copy link
Member Author

schlos commented Nov 10, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants