Pyrebase
Pyrebase copied to clipboard
issue with pyrebase setup, python environment, and/or firebase
I'm trying to retrieve the last piece of data added to my firebase database using data = db.child("problem").order_by_key().limit_to_last(1).get().val()
but I get the attached errors, which don't occur when I simply do db.child("problem").get().val()
. All of the code works accurately on my collaborator's device so I'm unsure where the problem is (whether it's my device's python set up, my pyrebase installation, or any settings I missed). From what I can tell, the errors I get seem to be related to pyrebase mainly? Any insight would be really helpful!
could be better if you provide more snippet of your code, of how you're working with order_by_key()
, and also check your security rules.