400 Bad request error when uploading files

Upon further inspection, the payload sent with the upload request is the following

{
"files":{},
"fileInfo":"{\"name\":\"image.jpg\",\"caption\":\"image.jpg\",\"alternativeText\":\"image.jpg\",\"folder\":null}"
}

so it makes sense that the backend responds with a 400.
I’m on Strapi 4.4.3.
This looks like a bug, should I open an issue on github ?

1 Like