How do you retrieve all existing tags from FireBaseDB?

I tried using FirebaseDB1.GetTagList and also Web1.Get to retrieve all existing tags from FirebaseDB. However, the TagList event is never triggered, and Web1.Get results in an error "unable to get a response with the specified url".
Interestingly, I am able to read individual tag values without any issues.
I would greatly appreciate any help identifying the cause of this issue.
Below are my sample blocks for reference:

in design
FireBaseURL=https://ebikerace-XXXX-default-rtdb.europe-west1.firebaseio.com/
Token is empty
Firebase rules:
{
"rules": {
".read": true,
".write": true
}
}

I notice your firebase URL is in Europe, but you use the firebase component blocks.

I thought those only work on the US central server.

2 Likes

It's the official Firebase server assigned for european users during the Firebase realtime database creation. Reading a single tag works perfectly, but retrieving all tags does not

I created the database on a US server, and everything started working perfectly. Both methods for retrieving all tags are now functioning as expected.
Thank you very much for your support—the issue was related to the European server.

FWIW, the REST api will work on any regional firebase server:

image

fbUrl = https://zzzzzzzzz-default-rtdb.europe-west1.firebasedatabase.app/

I wonder, if a new project at your end, did you use firebaseio.com instead of firebasedatabase.app ?


Yes, I’m currently using firebaseio.com.
When I set the FirebaseURL of FirebaseDB1 in the designer to
https://zzzzzzzzz-default-rtdb.europe-west1.firebasedatabase.app/, the app crashed.
I prefer also to use the FirebaseDB1 object and not only api because of usage of the FirebaseDB1.DataChanged event.
With the URL set to firebaseio.com and using the US server, everything is working fine.

1 Like

A post was split to a new topic: Firebase - retrieve data to listview