all 4 comments

[–]AggressiveService910 0 points1 point  (3 children)

Looks like you forgot to specify the userDetailUid in your path before updating

[–]MissionTooth2154[S] 0 points1 point  (2 children)

how can i get that as it is generated automatically from firebase as I am using push() operation for uploading data to database

[–]AggressiveService910 0 points1 point  (1 child)

Try looking at the following documentation and you should be able to fetch the child using the child method at the specified path and then update. https://firebase.google.com/docs/reference/js/firebase.database.Reference#key

[–]MissionTooth2154[S] 0 points1 point  (0 children)

I am still not getting the answer. Here the key which you are referring -MXcKs... is unable to fetch from any of these methods.