Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sydneyzhang18 opened this issue Aug 4, 2023 · 1 comment
Open

Comments

@sydneyzhang18
Copy link

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

@Pranzal360
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants