Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

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

@misha-reyzlin-hier

Description

@misha-reyzlin-hier
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) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions