Getting 403 Forbidden error when trying to load image from Firebase Storage

前端 未结 4 1513
旧巷少年郎
旧巷少年郎 2021-02-07 13:59

I\'m using firebase storage to store and load images for users on my android app. All users must be authenticated before using it. Occasionally, some user profile images are not

4条回答
  •  庸人自扰
    2021-02-07 14:39

    Probably comes too late, but maybe helpful for someone else. I had the same issue, my problem is that filenames in firebase storage are unique. If you upload a new file with the same filename it will override the old one and generate a new token for it, making the old url obsolete. You should generate a unique filename for your uploaded file and then it should be fixed.

提交回复
热议问题