odysseyscience / react-s3-uploader

React component that renders an <input type="file"/> and automatically uploads to an S3 bucket

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XML Parsing Error when uploading to S3

nithinkashyapn opened this issue · comments

Hey,

I keep getting this error on my console when i upload to S3 using react-s3-uploader

XML Parsing Error: no root element found
Location: https://x.s3.ap-south-1.amazonaws.com/nithin/txc3agk54brzoz5ktkpdh.ico?Content-Type=image%2Fx-icon&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJDP4VOWXYSUFHYAQ%2F20190228%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20190228T120524Z&X-Amz-Expires=600&X-Amz-Signature=6ec58594edbd0284e82ce1829458b5c37d31e95c228d292b62aff5190d0c431e&X-Amz-SignedHeaders=host 
Line Number 1, Column 1:

Though the onFinish and onError work properly i still get the above error.

Thanks.