Hi, Usually, a 415 error means you are sending data using an invalid "Content-Type" header. In most scenarios the content-type should be either "application/json" or "application/json-patch+json" (for PATCH requests).
However, it's difficult to provide better advice without understanding which exact request is returning a 415. Tim ________________________________ From: dspace-tech@googlegroups.com <dspace-tech@googlegroups.com> on behalf of Lewatle Johannes Phaladi <joema...@gmail.com> Sent: Monday, March 27, 2023 8:44 AM To: DSpace Technical Support <dspace-tech@googlegroups.com> Subject: [dspace-tech] REST API "415 Unsupported Media Type" Hi DSpace Tech, We are getting the following error "415 Unsupported Media Type" while trying to push items using Rest API to DSpace 7.4 Please advise on how to resolve the error. Regards, Lewatle -- 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<mailto:dspace-tech+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/9c91dacb-24e7-4445-b891-6f116d974ce3n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/9c91dacb-24e7-4445-b891-6f116d974ce3n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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/PH0PR22MB32740E11414C8E4EF4A5192BED8B9%40PH0PR22MB3274.namprd22.prod.outlook.com.