Skip to content

Governance API - issue on creating dataset with mandatory attributes

Given the following request:

curl --location 'https://datamite-ds.iti.es/gov/datasets' --header 'Content-Type: application/json' --header 'Accept: application/json' --data '{"name":"in magna","description":"fugiat","summary":"mollit","metadata":{"title":"Lorem"}}'

It raises the following (controlled) error (postman, FrontEnd):

{
    "status": "Internal Server Error",
    "statusCode": 500,
    "path": "/datasets",
    "message": "Name is null",
    "instant": "2025-05-29T06:24:33.183399516Z"
}

/cc @anacosta

Edited by Antoni Gimeno