14
Views
8
Comments
[Firebase] Bug on firebase plugin which automatically build DatabaseUrl by adding firebaseio
firebase
Reactive icon
Forge asset by Labs
Application Type
Reactive

Hi, 

i think there is a bug with the firebase plugin.

When, i include it in my app and when i test the receiver an error appear in the development tool of chrome, in the console. The console shows a database url that i never setted.

That url is automatically built and contains firebaseio which is wrong because my database url must contains firebaseapp.

I think it converts my project id to the database url.

Please can you help. Maybe i made a mistake.

2025-03-12 07-08-15
Nilesh Trivedi

If possible, please share a screenshot of the error so I can review it in more detail and provide a more accurate solution.

UserImage.jpg
den rick

Hi,

Thanks for answering. Here is a capture. I fixed a few mistake in my code, but an error remains, related to firebaseio.

My projectId is "les-irresponsables-51e9n6". 


In the firebase console, my database url is 

https://les-irresponsables-51e9n6-default-rtdb.europe-west1.firebasedatabase.app/

And at the end, i receive this error in the console of the browser: 

Firebase.FirebaseDatabase.js?qfoE5sQkfbA1wRZrGS4G7g:1 [2025-08-04T18:18:21.512Z]  @firebase/database: FIREBASE FATAL ERROR: Cannot parse Firebase url. Please use https://<YOUR FIREBASE>.firebaseio.com 

I read on stackoverflow the following information.

****

Depending on the location of the database, the URL for the new database will be in one of the following forms:

DATABASE_NAME.firebaseio.com (for databases in us-central1)

DATABASE_NAME.REGION.firebasedatabase.app (for databases in all other locations)

*****

I am located in Europe, which might explains why my url does not contain firebaseio.

If you want more info, please dont hesitate to ask.



2025-03-12 07-08-15
Nilesh Trivedi

Thank you for your reply.

Can you please confirm your Firebase JavaScript SDK version?

UserImage.jpg
den rick
UserImage.jpg
den rick

Hi,

I found the problem in the firebase module.

The database url is automatically computed in it. See the capture.

I am going to fix it and try again.




2025-08-07 06-30-56
Amit J
Champion

Use the latest componant 

UserImage.jpg
den rick

Hi, i found the problem.

There is a bug in the module. The url is computed. 

FirebaseRegisterEmailPassword dont have an input databaseurl but still compute one internally.


UserImage.jpg
den rick

Hi,

I modified the module and it works. Notifyevent sends the data to the server and the data is perfectly received in my app.

I confirm that the problem is the computed databaseUrl.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.