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

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

    Issue actions