Skip to content

Datapack not packaging as mod #6503

Description

@mMeneske

Please confirm the following.

What browsers are you seeing the problem on?

Other (please specify), Chrome (including Arc, Brave, Opera, Vivaldi)

Describe the bug

Im tryign to package a datapack as mod:
Project id:
With version id: 8fhLiSp4
When i try to package it returns this error:

"An error occurred
ModrinthServerError: [invalid_input] Error with multipart data: Missing mandatory loader fields: environment"

I have no idea how to fix this since datapcks do not have a environment field on mordrinth.

Steps to reproduce

  1. Create a project with a datapack.
  2. Go under any version and select the "Package to mod" option
  3. Select any mod loaders and package the datapack

Expected behavior

It will return this error:
"An error occurred
ModrinthServerError: [invalid_input] Error with multipart data: Missing mandatory loader fields: environment"

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    websiteRelates to Modrinth.com web frontend

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions