"Authorization failed" when trying to fetch database
dima74 opened this issue · 3 comments
dima74 commented
I am trying to see firebase data, and according to instructions in CONTRIBUTING.md run the following commands:
git clone git@github.com:FactorioBlueprints/factorio-prints.git
cd factorio-prints
firebase login
firebase database:get / > factorio-blueprints-export.json
But I receive the following error:
Error: Authorization failed. This account is missing the following required permissions on project facorio-blueprints:
firebase.projects.get
firebasedatabase.instances.get
Could you say, what I am doing wrong?
FactorioBlueprints commented
This is deliberate at the root of the database, because if you ran it,
you'd get everyone's email addresses for example. If instead of `/` you
download `/blueprints` or `/blueprintSummaries` I think it will work. If
you want user information too, I'll download a copy and anonymize it before
sharing.
…On Sun, Jun 30, 2019 at 2:31 PM Dmitry Murzin ***@***.***> wrote:
I am trying to see firebase data, and according to instructions in
CONTRIBUTING.md
<https://github.com/FactorioBlueprints/factorio-prints/blob/56c6957c7fe163d1218ab37965f70144b82dade3/CONTRIBUTING.md#L53>
run the following commands:
git clone ***@***.***:FactorioBlueprints/factorio-prints.git
cd factorio-prints
firebase login
firebase database:get / > factorio-blueprints-export.json
But I receive the following error:
Error: Authorization failed. This account is missing the following required permissions on project facorio-blueprints:
firebase.projects.get
firebasedatabase.instances.get
Could you say, what I am doing wrong?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#32?email_source=notifications&email_token=AF24KXMZH57J4EZVRWMVDITP5D3ZBA5CNFSM4H4NE6ZKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4QFL4A>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF24KXP7AUVQVGHW77GKUWTP5D3ZBANCNFSM4H4NE6ZA>
.
dima74 commented
@FactorioBlueprints I tried firebase database:get /blueprints > factorio-blueprints-export.json
and firebase database:get /blueprintSummaries > factorio-blueprints-export.json
and in both cases received the same error:
Error: Authorization failed. This account is missing the following required permissions on project facorio-blueprints:
firebase.projects.get
firebasedatabase.instances.get
zeryl commented
This looks to still be an issue. I also wonder if this is why School isn't updating right now, but prints is getting new prints added.