I tried to upload png image file that is upto 8mb size.
something happened wrong showing "MalformedXML: The XML you provided was not well-formed or did not validate against our published schema"
const modifiedFile = new File([selectedFile], modifiedFileName, {
type: selectedFile.type,
});
uploadToS3(modifiedFile, {
endpoint: {
request: {
body: {
path: currentId,
},
},
},
}).then((res) => {
onChange(res.url); // 이미지 URL을 설정
});
When I tried to upload small size image file, completed successful..

this is problem image

uploadS3 requested wrong form xml to s3

I guess 'fetch-http-handler' caused a problem.