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

File Upload Dont work in Android #103

Open
bruno1pb13 opened this issue Aug 23, 2021 · 3 comments
Open

File Upload Dont work in Android #103

bruno1pb13 opened this issue Aug 23, 2021 · 3 comments

Comments

@bruno1pb13
Copy link

On ios the upload works, but on android I get the following error

Possible Unhandled Promise Rejection (id: 27):
Object {
"headers": Object {},
"status": 0,
"text": "Binary FormData part needs a content-type header.",
}

in IOS

Object {
"postResponse": Object {
"bucket": "bucketname",
"etag": "76cc2064fff35de674ec29c9khdgqdc79",
"key": "8C8125E2-C184-4222-A1A8-C5B87EC03908.jpg",
"location": "urlfile",
},

@govind-v-natex
Copy link

govind-v-natex commented Feb 1, 2022

Facing the same issue with android, please resolve this ASAP.

@sanoopks
Copy link

The issue commonly occurs if the type property in the S3 request payload is false. Can you guys check that you are passing the correct mime type in the request payload?

@joumanam
Copy link

joumanam commented Sep 6, 2022

I was having the same problem on android, I replaced type: "mp4" with type: "video/mp4" and it was resolved

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

4 participants