Having an issue with uploading data to the storage Bucket of my app. The line
var uploadRef = firebase.storage().ref();
is triggering this error message:
Firebase Storage: No default bucket found. Ensure the 'storageBucket' property is set when initializing the app.
I've initialized the app by adding the polymer <firebase-app>
element in the body of my index.html like this:
<firebase-app
api-key="<my-api-key>"
auth-domain="<my-auth-domain>"
database-url="<my-database-url>"
storageBucket="<my-storageBucket-url>">
</firebase-app>
After trying various solutions found online, I have confirmed:
- My App Engine APIs are enabled
- The App Engine app is enabled as well
- [email protected] has ownership access to the storage bucket
At this point, I'm unsure what else to try and would really appreciate any assistance available!