我想从FirebaseStorage
下载一些图像。获取'用户没有权限访问此对象。代码:-13021 HttpResult:403'错误。请参阅详细信息
虽然我通过谷歌认证的用户,我仍然得到这个 错误:
E/StorageException: StorageException has occurred. User does not have permission to access this object. Code: -13021 HttpResult: 403
试图下载的图像时。
这里的规则:
service firebase.storage {
match /b/appname-e3a12.appspot.com/o {
match /{allPaths=**} {
allow read, write;
}
}
}
请让我知道什么是错在这里。
有没有人得到这个答案?
对不起,如果问题似乎格式不正确。我还是个初学者!
我应该在哪里插入此:'appname-e3a12.appspot.com '? –
不!即使这个规则也给出了同样的错误:'E/StorageException:发生了StorageException。用户没有权限访问此对象。代码:-13021 HttpResult:403' –
我也是初学者。我不知道更多。为什么不认证?如果你不想尝试 [Firebase匿名登录](https://firebase.google.com/docs/auth/android/anonymous-auth) –