Skip to content

[AI Gateway] Document Run exhausted-credit errors - #34549

Draft
superhighfives wants to merge 1 commit into
productionfrom
cgleason/run-payment-defaulted-docs
Draft

superhighfives wants to merge 1 commit into
productionfrom
cgleason/run-payment-defaulted-docs

Conversation

@superhighfives

Copy link
Copy Markdown
Contributor

Explain how to recognize exhausted-credit errors from Run and when to retry.

Document HTTP 402 / internalCode: 2021, link to adding credits, and clarify that an accepted background run can still fail.

Validated with pnpm run check, pnpm run build, pnpm run lint:nimbus, and pnpm run format.

@github-actions github-actions Bot added the product:ai-gateway AI Gateway: https://developers.cloudflare.com/ai-gateway/ label Oct 23, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://cgleason-run-payment-defaulted-docs.previews.developers.cloudflare.com (commit 6e02d6d)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://2ff2ba75.previews.developers.cloudflare.com 6e02d6d 2026-10-23T00:44:54.963Z Visit the dashboard ↗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:ai-gateway AI Gateway: https://developers.cloudflare.com/ai-gateway/ size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant