modmuss50 / mod-publish-plugin

A Gradle plugin to publish mods to a range of destinations
https://modmuss50.github.io/mod-publish-plugin/
MIT License
56 stars 9 forks source link

Request failed, status: 404 message: Unknown error during upload of fabric version to modrinth #43

Closed Erdragh closed 3 months ago

Erdragh commented 4 months ago

See these two failed runs:

And this successful dry run: https://github.com/Erdragh/AstralBot/actions/runs/9265192916/job/25486723128

Erdragh commented 4 months ago

This was caused by me using the wrong slug for the forge-config-api-port on Modrinth. However, a more meaningful Error message would have been helpful.

AnAwesomGuy commented 3 months ago

see https://github.com/modmuss50/mod-publish-plugin/blob/a5f1d8d65cfe924c813678324dce99b301824840/src/main/kotlin/me/modmuss50/mpp/platforms/modrinth/ModrinthApi.kt#L164 when the error code from modrinth api has no description, unknown error is provided