INVOICE_PERIOD_CLAIM_FAILED
500api_errorThe billing period could not be claimed.
Cause
Invoice generation reserves (client, period) with a conditional put before it talks to Stripe. That write failed.
How to fix it
Retry. The claim is taken before any billable Stripe object exists, so a failure here cannot have charged anyone.
Example response
500 INVOICE_PERIOD_CLAIM_FAILED
JSON
{
"error_code": "INVOICE_PERIOD_CLAIM_FAILED",
"error_type": "api_error",
"error_message": "The billing period could not be claimed.",
"hint": "Retry. The claim is taken before any billable Stripe object exists, so a failure here cannot have charged anyone.",
"docs_url": "https://docs.billerapi.com/errors/INVOICE_PERIOD_CLAIM_FAILED",
"request_id": "d94f5e2a-8c3b-4f1e-9a7d-6b2c1e0f8a34"
}Related
- Error handling — the error envelope shape and how to parse it
- Error code reference — every stable error code
Canonical docs URL: https://docs.billerapi.com/errors/INVOICE_PERIOD_CLAIM_FAILED
Was this page helpful?