I do not know if there is a glitch or something else. I noticed that the problem occurs if Database location is asia-southeast1 else if Database location is United States (us-central1) works fine. In attatched aia I used a test realtime database created in us-central and works fine
Firebase_testing_1.aia (2.6 KB)