Uploading mp4 from Android phone to Spring server results in file missing a few hundred bytes if bigger than 2MB

I have been trying to upload to a Java Spring server running on my laptop, using an app written in Xamarin forms, using a physical Redmi Android device. But when I send out the multi-part request, if …