Pyrebase icon indicating copy to clipboard operation
Pyrebase copied to clipboard

issue with pyrebase setup, python environment, and/or firebase

Open sydneyzhang18 opened this issue 1 year ago • 1 comments

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!

screenshot_2023-08-04_at_12 55 06_pm_720

sydneyzhang18 avatar Aug 04 '23 23:08 sydneyzhang18

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.

Pranzal360 avatar Nov 21 '23 10:11 Pranzal360