Failed to parse multipart servlet request #34441
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: feedback-reminder
We've sent a reminder that we need additional information before we can continue
status: waiting-for-feedback
We need additional information before we can continue
status: waiting-for-triage
An issue we've not yet triaged or decided on
I am uploading a file from Angular using Java 17 with Spring Boot 3.2 as backend.
I noticed that when I updated Spring 2.x.x it shows me a multipart error. I don't know if the implementation with Angular changed for this type of request. The code I use is the following:
Angular17:
Java17:
Error:
{errCode: 4000, errMsg: "Failed to parse multipart servlet request"} errCode : 4000 errMsg : "Failed to parse multipart servlet request"
The library imported is
import org.springframework.web.multipart.MultipartFile;
But it's very confusing because even though I don't have the file reading implementation, just by receiving the file as @RequestParam, I get the error.
Is it possible that something has changed for the new versions of Spring with Angular?
Thank you!!
The text was updated successfully, but these errors were encountered: