uploads.json
endpoint returns 500 internal server error for some courses
#6046
Labels
uploads.json
endpoint returns 500 internal server error for some courses
#6046
What is happening?
We're unable to see the uploads for
Wikimedia_Nigeria/Monthly_Outstanding_Editor_Recognition_(April_2024_-_March_2025)
course. Apparently, theuploads.json
endpoint returns 500 internal server error, and the site keeps loading for ever.To Reproduce
Expected behavior
Files uploaded to Wikimedia Commons should appear.
Screenshots
Additional context
I found this by chance and created the issue so it doesn't get lost, but I didn't investigate what's going on. But it's related to uploads whose
file_name
does not begin with “File:" and makepretty_filename
fail.For example:
File%3AA+sunflower+%F0%9F%8C%BB%F0%9F%8C%BB+in+Kaduna+Polytechnic%2CSabo+Campus.jpg
The text was updated successfully, but these errors were encountered: