{"action":"created","issue":{"url":"https://api.github.com/repos/thisbejim/Pyrebase/issues/100","repository_url":"https://api.github.com/repos/thisbejim/Pyrebase","labels_url":"https://api.github.com/repos/thisbejim/Pyrebase/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/thisbejim/Pyrebase/issues/100/comments","events_url":"https://api.github.com/repos/thisbejim/Pyrebase/issues/100/events","html_url":"https://github.com/thisbejim/Pyrebase/issues/100","id":188718621,"number":100,"title":"403 on Firebase Storage downloads","user":{"login":"Kolymorph","id":22398611,"avatar_url":"https://avatars.githubusercontent.com/u/22398611?v=3","gravatar_id":"","url":"https://api.github.com/users/Kolymorph","html_url":"https://github.com/Kolymorph","followers_url":"https://api.github.com/users/Kolymorph/followers","following_url":"https://api.github.com/users/Kolymorph/following{/other_user}","gists_url":"https://api.github.com/users/Kolymorph/gists{/gist_id}","starred_url":"https://api.github.com/users/Kolymorph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kolymorph/subscriptions","organizations_url":"https://api.github.com/users/Kolymorph/orgs","repos_url":"https://api.github.com/users/Kolymorph/repos","events_url":"https://api.github.com/users/Kolymorph/events{/privacy}","received_events_url":"https://api.github.com/users/Kolymorph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-11T09:26:29Z","updated_at":"2016-11-14T09:09:52Z","closed_at":null,"body":"Can't download files with my service account, getting 403 Forbidden error. The only files I am allowed to download seem to be those that I have uploaded with Pyrebase on the same day. Older files and files uploaded from console/android are returning Forbidden. I do have an owner service account and firebase storage rules are set to `allow read, write` at all paths."},"comment":{"url":"https://api.github.com/repos/thisbejim/Pyrebase/issues/comments/260283447","html_url":"https://github.com/thisbejim/Pyrebase/issues/100#issuecomment-260283447","issue_url":"https://api.github.com/repos/thisbejim/Pyrebase/issues/100","id":260283447,"user":{"login":"Kolymorph","id":22398611,"avatar_url":"https://avatars.githubusercontent.com/u/22398611?v=3","gravatar_id":"","url":"https://api.github.com/users/Kolymorph","html_url":"https://github.com/Kolymorph","followers_url":"https://api.github.com/users/Kolymorph/followers","following_url":"https://api.github.com/users/Kolymorph/following{/other_user}","gists_url":"https://api.github.com/users/Kolymorph/gists{/gist_id}","starred_url":"https://api.github.com/users/Kolymorph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kolymorph/subscriptions","organizations_url":"https://api.github.com/users/Kolymorph/orgs","repos_url":"https://api.github.com/users/Kolymorph/repos","events_url":"https://api.github.com/users/Kolymorph/events{/privacy}","received_events_url":"https://api.github.com/users/Kolymorph/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T09:09:52Z","updated_at":"2016-11-14T09:09:52Z","body":"No, the problem is still there. Seems to fail somewhere in here:\r\n```\r\n\r\n    def download(self, filename, token=None):\r\n        # remove leading backlash\r\n        path = self.path\r\n        url = self.get_url(token)\r\n        self.path = None\r\n        if path.startswith('/'):\r\n            path = path[1:]\r\n        if self.credentials:\r\n            blob = self.bucket.get_blob(path)\r\n```\r\nImages uploaded from Android fail getting blob, while pyrebase uploads do just fine."}}
{"actor":{"display_login":"Kolymorph"}}