Cannot delete Firebase RTDB record.

133 views
Skip to first unread message

xavier purcell

unread,
Feb 27, 2024, 12:07:18 PM2/27/24
to Firebase Google Group
Hello there,

Hey everyone, I'm having issues overwriting certain values in a Firebase Realtime Database. The rules are set to write and read = true. When I go to edit the values it always returns to its original value. Not sure why this is the case. In the attached screenshot I'm changing the value to 17, but when I refresh it becomes 16 again. I can edit other nodes under players and lobby, but anything under matches has this issue. It never was a problem it just occurred one day. If I copy the database over to a new database I don't have this issue anymore. Furthermore when i go into Firebase Cli and attempt to delete the matches record or anything under said record it just hangs indefinitely and never finishes (this is also attached in the image). I've managed to delete other records not under matches with no issue. I've also ran the Firebase profiler and it doesn't seem to be a write issue where another user is overwriting the data.  Any help is appreciated!

Thank you in advanced!
Xavier.
cannot delete.png

Arthur Thompson

unread,
Feb 27, 2024, 12:37:29 PM2/27/24
to fireba...@googlegroups.com
Hi,

This is very strange behavior are you able to read the values from matches and other values under matches?



--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/5d90d2b3-cb8b-4574-90a1-feca83d4da79n%40googlegroups.com.

xavier purcell

unread,
Feb 27, 2024, 9:20:25 PM2/27/24
to fireba...@googlegroups.com
Hi Arthur thanks for the reply,

Managed to solve it. Cloud functions were preventing writing to the database. Firebase doesn't seem to throw any sort of error for this. I ended up turning off strict validation with Firebase CLI for now. Believe we were hitting the max 1000 limit or the 1mb write limit.

Thank you for your time.

Arthur Thompson

unread,
Feb 28, 2024, 12:40:45 PM2/28/24
to fireba...@googlegroups.com
Gotcha, I'm happy to hear you solved it!

Reply all
Reply to author
Forward
0 new messages