Skip to content

Failed to upload file An unknown error occurred, please check the HTTP... #342

Open
@irsyadilham

Description

@irsyadilham

Hello
I encounter a problem where I can't upload file into firebase storage
this error come out
An unknown error occurred, please check the HTTP result code and inner exception for server response.

here is my code
firestack.storage.uploadFile(${sourceURI}, ${firebasePath},{
contentType: 'image/jpeg',
contentEncoding: 'base64'
})
.then(res => console.log(res))
.catch(err => console.log(err))

can anyone help me
thanks in advance

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @irsyadilham

        Issue actions

          Failed to upload file An unknown error occurred, please check the HTTP... · Issue #342 · fullstackreact/react-native-firestack