This repository was archived by the owner on Mar 4, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 163
This repository was archived by the owner on Mar 4, 2026. It is now read-only.
listDocuments autoPaginate warning/error #2335
Copy link
Copy link
Closed
Labels
api: firestoreIssues related to the googleapis/nodejs-firestore API.Issues related to the googleapis/nodejs-firestore API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Environment details
- OS: Mac
- Node.js version: v22.5.1
- npm version: 10.8.2
@google-cloud/firestoreversion: 7.11.0
Steps to reproduce
- Call the method listDocuments on a collection
- Check your logs to see warning
I've created a test repo to easily reproduce: https://github.com/Damotech/firestore-list-documents-warning
This isn't a major issue, we noticed it recently through the use of firebase-admin/firestore. In our production environment we are seeing them as errors so we get alerted about them once in a while. Though running the test-repo code alone, we are seeing them as warnings.
The warning stems from another lib, here is the snippet we see:
(node:1) AutopaginateTrueWarning: Providing a pageSize without setting autoPaginate to false will still return all results. See https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#auto-pagination for more information on how to configure manual paging
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: firestoreIssues related to the googleapis/nodejs-firestore API.Issues related to the googleapis/nodejs-firestore API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.