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

infinite loading screen after saving a book #289

Open
aymendirar opened this issue Mar 11, 2023 · 0 comments
Open

infinite loading screen after saving a book #289

aymendirar opened this issue Mar 11, 2023 · 0 comments

Comments

@aymendirar
Copy link
Collaborator

aymendirar commented Mar 11, 2023

happening to someone working on cataloging

  • they first saw an error about tags that were part of the tag index not being part of the tag index
  • they reset the tag index link
  • they refreshed the page and tried saving the page
  • they were faced with an infinite loading screen

EDIT: one suspicion is that the production tag index has gotten into a weird state
trying to save a book with the example index (with the same tag) works, but causes an infinite loading screen with the production index


EDIT: ok wtf why can i make requests to query the example tag index BUT NOT the production tag index ???

GET request on this (w/ a bearer token) works:

https://sheets.googleapis.com/v4/spreadsheets/17JPwEnhxwKDvSITn6fWcj-D8ZXL2MAcVmOCgu8tmjes/values:batchGet?ranges=Tag+Index+Index

this doesn't (503 error):

https://sheets.googleapis.com/v4/spreadsheets/1EfwBhY56M8OwgVjFTWxxxdoIxK8osw2vfgsXnCyGGuA/values:batchGet?ranges=Tag+Index+Index

only difference is the spreadsheet ID

also only happening for values:batchGet endpoint thus far, pinging the sheets w a get request both work

https://sheets.googleapis.com/v4/spreadsheets/1EfwBhY56M8OwgVjFTWxxxdoIxK8osw2vfgsXnCyGGuA
https://sheets.googleapis.com/v4/spreadsheets/17JPwEnhxwKDvSITn6fWcj-D8ZXL2MAcVmOCgu8tmjes


EDIT:

what's EVEN STRANGER is i made a copy of the prod sheet and tried querying and IT'S STILL FAILING to make a request???

probably had an outdated bearer token earlier, but making a copy of the sheet and querying works

copied prod sheet: https://docs.google.com/spreadsheets/d/16Hhis04MXK8LdyVwmVqIQ1vSOzCDvBXZ9kSKp35kjZ4/edit#gid=2043733353

request URL: https://sheets.googleapis.com/v4/spreadsheets/16Hhis04MXK8LdyVwmVqIQ1vSOzCDvBXZ9kSKp35kjZ4/values:batchGet?ranges=Tag+Index+Index

only other thing i can think of is this sheet could be getting rate limited because of some bad code that keeps requesting, but then pinging the sheet wouldn't work so i'm pretty shtumped, probably gonna try again later


EDIT: IT'S WORKING NOW?????

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant