Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Error: Request time should not be before the last token refill time

Open
#3,132 1 comment 0 reactions 1 assignee View on GitHub

@cherylEnkidu is already working on this.

Since May 7, 2026.

Assessment

This issue has not been assessed yet.

Description

api: firestore
  • Operating System version: Mac OS X Tahoe
  • Firebase SDK version: "firebase-admin": "^13.8.0"
  • Firebase Product: firestore
  • Node.js version: 20.19.4
  • NPM version: 10.8.2
[REQUIRED] Step 3: Describe the problem

a script that is calling recursiveDelete() is getting the following error

Stack: Error: Request time should not be before the last token refill time.
at RateLimiter.refillTokens (node_modules/@google-cloud/firestore/build/src/rate-limiter.js:117:19)
at RateLimiter.tryMakeRequest (node_modules/@google-cloud/firestore/build/src/rate-limiter.js:67:14)
at BulkWriter._sendBatch (node_modules/@google-cloud/firestore/build/src/bulk-writer.js:753:50)
at /node_modules/@google-cloud/firestore/build/src/bulk-writer.js:742:50
at runNextTicks (node:internal/process/task_queues:60:5)
at process.processImmediate (node:internal/timers:454:9)

Dominant language
TypeScript
Stars
1.7k
Forks
419
Avg merge
4d 20h
Merged PRs (30d)
16

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from firebase/firebase-admin-node

All issues in firebase/firebase-admin-node

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.