Axios Error 500 when uploading media in production

So if it’s a 500 error always check the strapi logs aka strapi console as it crashed and could provide more details.

The object your sending needs to be neates in a data object