Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modrinth JSON parsing error #87

Closed
srnyx opened this issue Aug 5, 2023 · 2 comments
Closed

Modrinth JSON parsing error #87

srnyx opened this issue Aug 5, 2023 · 2 comments

Comments

@srnyx
Copy link

srnyx commented Aug 5, 2023

πŸ“€ Uploading assets to CurseForge
βœ… Successfully published assets to CurseForge in 3105 ms
πŸ“€ Uploading assets to Modrinth
Error: HttpError: 400 (Bad Request, {"error":"invalid_input","description":"Error while parsing JSON: missing field `version_number` at line 1 column 569"})

https://github.com/srnyx/midas-touch/blob/master/.github/workflows/publish.yml
https://github.com/srnyx/tools/blob/main/.github/workflows/publish.yml

@srnyx
Copy link
Author

srnyx commented Aug 5, 2023

Think this was cause I manually called the workflow instead of having a new release trigger it

@srnyx srnyx closed this as completed Aug 5, 2023
@Kir-Antipov
Copy link
Owner

Since mc-publish versions <4.0 cannot read the metadata of plugins, without a GITHUB_REF environment variable being set or a version being manually specified, there's no way to infer that value.

I'm going to reopen this issue because the error message is confusing for the end user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants