Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MalformedXML: The XML you provided was not well-formed or did not validate against our published schema #174

Open
Han-D-Peter opened this issue Dec 7, 2023 · 0 comments

Comments

@Han-D-Peter
Copy link

Han-D-Peter commented Dec 7, 2023

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..
login

this is problem image

Screen Shot 2023-12-07 at 5 12 25 PM

uploadS3 requested wrong form xml to s3

Screen Shot 2023-12-07 at 5 15 36 PM

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant