You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been getting an error with a workflow that used to work (2 months ago):
HttpError: 500 (Internal Server Error, {"error":"database_error","description":"Database Error: Error while interacting with the database: error returned from database: duplicate key value violates unique constraint \"version_fields_pkey\""})
I've been trying to get a hold of Modrinth support about it, but it's been days without answer. So I was hoping someone here might know something about some change they made and hopefully a way to fix it.
This error happens with any version I give my resource pack so it's not a duplicate version of the pack.
Yup, it definitely is! If you're okay with it, I'll leave this issue open so I won't forget to re-add the version validation, which I somehow lost during the last refactoring, before the next release :D
Also, it's worth notifying the Modrinth folks that they made the same mistake as me and forgot to properly validate their inputs. The server definitely shouldn't crahs out with an HTTP 500 when a user forgets to specify the version!
Kira-NT
changed the title
[Bug] 500 http error when uploading resourcepack to Modrinth
[Bug] Empty version causes Modrinth to throw HTTP 500
Feb 12, 2025
Description
I've been getting an error with a workflow that used to work (2 months ago):
I've been trying to get a hold of Modrinth support about it, but it's been days without answer. So I was hoping someone here might know something about some change they made and hopefully a way to fix it.
This error happens with any version I give my resource pack so it's not a duplicate version of the pack.
Expected Behavior
It should not 500
Actual Behavior
It 500
Version
3.3
Environment
GitHub Actions
Configuration
Logs
Other Information
The text was updated successfully, but these errors were encountered: