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

MagTag Google Sheets URL redirect fails #2116

Open
anecdata opened this issue Mar 21, 2022 · 1 comment
Open

MagTag Google Sheets URL redirect fails #2116

anecdata opened this issue Mar 21, 2022 · 1 comment

Comments

@anecdata
Copy link
Member

anecdata commented Mar 21, 2022

There's an issue in
https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/MagTag_Google_Sheets/weekly_planner/code.py
that's been transferred to Requests:
adafruit/Adafruit_CircuitPython_Requests#103

I believe the issue is due to a required redirect to access the spreadsheet. This must have behaved differently in the past, but now the redirect is a 307 temporary redirect to a different host (subdomain.domain). Requests I believe only handles redirects within the same host.

While waiting for a Requests change, maybe there's an alternate way to serve the spreadsheet that won't encounter the issue, and gets the guide working again.

Update: after more testing, turns out redirects to other domains are handled fine. The error arises from some other cause (unknown) - see the issue linked for more discussion.

@wavesailor
Copy link

This has been resolved in the adafruit/Adafruit_CircuitPython_Requests#103

This issue can now be closed

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

2 participants