Hi, A 500 exception in DSpace generally means "something went wrong on the backend" or that the client is unable to communicate with the backend. The only way to determine the cause of the error is to try to locate the detailed exception in the backend logs as described in our troubleshooting guide: https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)
There are a number of suggestions in that troubleshooting guide for how to debug these sorts of issues. If you can find a more detailed error message, you can always post it back here if it doesn't make sense. There are also some common installation issues we have listed at https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-CommonInstallationIssues Tim On Monday, August 21, 2023 at 4:07:20 PM UTC-5 Thiago Camelo wrote: > 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" } > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/bccb807c-0d1d-4a4f-ab28-343e0a79f561n%40googlegroups.com.