I'm using Grav with Nginx. My issue is that I keep getting an error when I upload a file in a form.

I checked the Nginx error log file, and it seems the problem is where it's trying to temporary upload the file.
2023/12/20 12:46:40 [error] 42123#42123: *540 open() "/home/grav/www/html/fr/test.json/task:file-upload" failed (2: No such file or directory), client: xx.xxx.xx.xxx, server: localhost, request: "POST /fr/test.json/task:file-upload HTTP/1.1", host: "xxx.xxx.xxx.xxx", referrer: "http://xxx.xxx.xxx.xxx/fr/test"
However, the path /home/grav/www/html/fr/test.json/ doesn't exist in my Grav arborescence.
If it helps this is what the console shows :

With the issue being this part of the form.vendor.js in /home/grav/www/html/user/plugins/form/assets
{
key: "submitRequest",
value: function(e, t) {
e.send(t)
}
I've looked around but can't seem to find a solution online.
Thank you : )