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
Firestore error when paginating with document snapshot with 'null' field #429
Comments
..After much trial and error, I got it working by changing Not sure why that works but it does, the error went away. |
I did some investigation and it seems particular to using the null type field. Using empty strings and not null value works, so there may be something particular about ingesting when a field is a null type. Also, stumbled on an interesting corner case where lastDoc was null that we can fix. Will open a separate bug for that. (#439) Here is a standalone Repro though for this bug that should reproduce:
|
where
clause
Environment details
google-cloud-firestore
version: 2.1.3Steps to reproduce
where
clause.Code example
Stack trace
On the 2nd query.stream(), i get this error:
google.api_core.exceptions.InvalidArgument: 400 order by clause cannot contain more fields after the key.
I followed the pagination documentation, but added a where clause which broke it. If I remove the where clauses it works fine.
The text was updated successfully, but these errors were encountered: