500 Server Error when creating study - ibt-hsg.herokuapp.com/api/sessions failing #24
-
|
Hi Error ID: invalid_url_error Is there currently a server issue? Any estimated time for resolution? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
|
Hi Natalia, the server works just fine (it works if try to create a session with the placeholder csv https://raw.githubusercontent.com/DICE-app/sample-feeds/refs/heads/main/feeds/9gag.csv). I therefore assume that there is an issue with the csv file you created. Can you share the corresponding URL with me? |
Beta Was this translation helpful? Give feedback.
-
|
Thank you so much, it works perfectly now. |
Beta Was this translation helpful? Give feedback.
-
|
Hi again, |
Beta Was this translation helpful? Give feedback.
-
|
BTW: when testing the app and playing around with session configurations, please keep the sessions small to avoid unnecessary database strain. Hence, choose something like 10 study slots or so. |
Beta Was this translation helpful? Give feedback.
The Problem:
You tried to upload a CSV file from Google Drive to create a study session. The software rejected the link and threw an error ("invalid_url_error").
The Cause:
Google Drive links can have different formats. The software expected links in one specific format (like
drive.google.com/file/d/FILE_ID/view) but you provided a link in a different format (likedrive.google.com/uc?export=download&id=FILE_ID). The software tried to extract the file ID from the wrong part of the URL, which caused it to fail.The Fix:
I updated the code to recognize both types of Google Drive link formats. Now the software can handle links that are already in the direct download format without trying to r…