Multer not accepting files on mobile

I have a problem that I don’t know how to solve.

I have an api that is using multer, on the desktop it works perfectly, however when I try to upload images on the mobile (chrome/safari), I can only do it, with files below 5mg (which gives 2 photos) but on the desktop I I can get any size (I’ve already tested sending 15 mg).

I already increased the size of the size but nothing works.

Has anyone ever experienced this ?

My multer code:

const upload = multer({ fileSize: 2000000, fieldNameSize: 2000000, fieldSize: 2000000 }); // instância do multer para não salvar os arquivos localmente


server.post('/ad/images', upload.any(), async (req, res) => {