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

CurseForge upload fails when not defining any dependencies #6

Closed
NebelNidas opened this issue May 30, 2022 · 2 comments
Closed

CurseForge upload fails when not defining any dependencies #6

NebelNidas opened this issue May 30, 2022 · 2 comments

Comments

@NebelNidas
Copy link

As discussed in Discord earlier this month, mc-publish fails to upload files to CurseForge which don't have any dependencies defined.
The error is:

Error: Failed to upload file: 400 (Bad Request, {"errorCode":1002,"errorMessage":"Error in field `metadata`:\n* Array item count 0 is less than minimum count of 1. Path 'relations.projects', line 1, position 426."})

See this action run as an example of this happening: https://github.com/ReviversMC/microDurability/actions/runs/2328272756

Kir-Antipov added a commit that referenced this issue May 31, 2022
@Kir-Antipov
Copy link
Owner

It should be ok now! :)

@NebelNidas
Copy link
Author

Thank you :)

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