Problem with file upload in custom controller (Vue.js frontend, typescript)

Hello everyone,

I’m facing an issue with uploading an image through a custom controller in Strapi. I’m sending a request from a Vue.js frontend with Content-Type set to multipart/form-data, but when the request reaches my custom Strapi controller, the file (image) is missing from the request.

Here’s what I’ve tried so far:

Content-Type is correctly set to multipart/form-data on the frontend.
The request reaches the Strapi backend, but the file is not available.
Any suggestions on what I might be missing, or if there’s something specific I need to handle in the custom controller for file uploads?

Thanks for your help!

This topic has been created from a Discord post (1292951856602939485) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

or any other ideas (plugins) how to solve it ?