firebase-import icon indicating copy to clipboard operation
firebase-import copied to clipboard

Passing modern (2021) database URL is not accepted (for example with another region, but also TLD is new – firebasedatabase.app)

Open misha-reyzlin-hier opened this issue 4 years ago • 1 comments

firebase-import --database_url https://foo-bar-default-rtdb.europe-west1.firebasedatabase.app --path / --json foo.json --service_account scripts/foo-bar-admin.json

causes

Error: FIREBASE FATAL ERROR: Cannot parse Firebase url. Please use https://<YOUR FIREBASE>.firebaseio.com 

But attempting to pass this database URL in any other form fails from the firebase side:

[2021-03-18T17:52:51.311Z]  @firebase/database: FIREBASE WARNING: Namespace foo-bar-default-rtdb lives in a different region. Please change your database URL to https://foo-bar-default-rtdb.europe-west1.firebasedatabase.app (https://foo-bar-default-rtdb.firebaseio.com) 

misha-reyzlin-hier avatar Mar 18 '21 17:03 misha-reyzlin-hier

Any update?

minhchienwikipedia avatar Dec 06 '21 08:12 minhchienwikipedia