Skip to content

Cannot relate attachement through datasetId field in POST request of attachments v4 #2703

@rkweehinzmann

Description

@rkweehinzmann

Summary

When trying to attach an attachment to an existing dataset, one cannot indicate the dataset to which the attachment belongs. It seemed possible in v3.

Steps to Reproduce

Post an attachment using /api/v4/attachments

Current Behaviour

returns {
"message": [
"property datasetId should not exist"
],
"error": "Bad Request",
"statusCode": 400
}
After removing this field, it returns a 201 so the attachment was created but ends in nirvana.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions