I have my FileUpload Controller like this: @PostMapping("/uploadFile") public AppUserDocumentUploadResponse uploadFile(@RequestParam("file") MultipartFile file) {