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: 6 comments 9 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.
-
|
Hi, I'm back working on another study using DICE and running into a similar issue as last time. The link test passes successfully, but session creation fails with the following error: Error ID: invalid_url_error CSV link: https://drive.google.com/uc?export=download&id=1vKwQ4R6ncJJzjQmi8B_4-drvMSUUVkSL Thanks so much, |
Beta Was this translation helpful? Give feedback.
-
|
Thank you! It works perfectly now
בתאריך יום ב׳, 23 במרץ 2026 ב-10:35 מאת Hauke Roggenkamp <
***@***.***>:
… Hi Natalia,
the problem was that your conditions were numeric (while DICE was
expecting a string such as "A" or "B") . As I don't remember why I designed
it that way, I just updated the code to allow for numeric values as well 🤞.
Your csv file should work now. Sorry for the inconvenience and good luck
with your study.
Best,
Hauke
—
Reply to this email directly, view it on GitHub
<#24?email_source=notifications&email_token=B2QQISTJ5VNE6AREEKLCTQD4SFDRLA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNRSG43DSNZSUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-16276972>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/B2QQISQGIVFUETRQDGY5CUT4SFDRLAVCNFSM6AAAAACM2VSQX6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTMMRXGY4TOMQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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…