Too many D1 API requests in one invocation
Error · d1
The Worker issued more queries than the per-invocation cap.
Free plan
Free allows 50 queries per invocation.
Paid plan
Paid allows 1,000.
What it means
The limits page names the failure `Too many API requests by single Worker invocation`. A batch counts as one query against the cap.
What it does to a bill
Batching reduces this error. It does not reduce rows read inside the batch.
Sources
- D1 limitsOfficial