I am developing a new UI for interact w/ the REST API and while developing the components that submit content to the endpoints i found myself unable to post a (new) community in the main community endpoint. I get a not very descritive error in the request response: "500 An exception has occurred".
The data i'm submitting to: (as string)
{
"name": "Comunidade teste",
"metadata": {
"dc.title": [
{
"value": "Comunidade teste",
"language": null,
"authority": null,
"confidence": -1
}
],
"dc.description": [
{
"value": "testando 123",
"language": null,
"authority": null,
"confidence": -1
}
]
}
}
both are not HTTPS, same machine (localhost based), using axios;
i can login and get both csrf and jwt correctly but i'm clueless about the rest
main endpoint info:
{
"dspaceUI": "http://localhost:5173/",
"dspaceName": "Repositorio Academico",
"dspaceServer": "http://192.....:8080/server/",
"dspaceVersion": "DSpace 7.6",
"type": "root"
}