Billing period invalid
What the BillingPeriodInvalid error (400 Bad Request) means, the fields it carries, and the endpoints that return it.
The API answers 400 Bad Request with this problem. Its type is https://lingo.dev/docs/api/errors/billing-period-invalid. See Errors and status codes for the shape every error shares.
"<period>" is not a billing period. Send a date in the month to report, such as 2026-11-01.
Fields #
Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.
| Field | Type |
|---|---|
period | string |
Example #
json
{
"detail": "\"<period>\" is not a billing period. Send a date in the month to report, such as 2026-11-01.",
"period": "<period>",
"type": "https://lingo.dev/docs/api/errors/billing-period-invalid",
"status": 400,
"title": "Billing period invalid"
}Returned by #
GET /v2/organizations/{orgId}/billing/cost-by-modelGET /v2/organizations/{orgId}/billing/provider-costsGET /v2/organizations/{orgId}/billing/token-consumptionGET /v2/organizations/{orgId}/billing/usage-history