Whats the problem?
Read …And try yourself
I also faced the same issue before . This error occurs when you change the default location while creating database. So, leave the default location ( which is US) while creating firebase database.
Yes, it was posted above, for him to read and understand.
The solution already exists, he just need open the topic above and read (he didn’t even need to create this topic)