fris-fruitig / react-firebase-file-uploader

An image uploader for react that uploads images to your firebase storage
https://npm.im/react-firebase-file-uploader
166 stars 45 forks source link

What is the correct way of referring the bucket ? #48

Closed qnxdev closed 4 years ago

qnxdev commented 4 years ago

I got this error at console after selecting file.

{…} ​ code: "storage/unauthorized" ​ message: "Firebase Storage: User does not have permission to access 'images/ .png'." ​ name: "FirebaseError" ​ serverResponse: "{\n \"error\": {\n \"code\": 403,\n \"message\": \"Permission denied. Could not perform this operation\"\n }\n}" ​

: Object { codeProp: codeProp(), codeEquals: codeEquals(code), serverResponseProp: serverResponseProp(), … } index.js:1 { "code_": "storage/unauthorized", "message_": "Firebase Storage: User does not have permission to access ' .png'.", "serverResponse_": "{\n \"error\": {\n \"code\": 403,\n \"message\": \"Permission denied. Could not perform this operation\"\n }\n}", "name_": "FirebaseError" }