All error codes

window_too_large

HTTP 422 Requested time window is too large

What happened

The cost window you asked for on GET /v1/project/costs is wider than 400 days. The request is refused rather than truncated, because a bucket silently dropped from the answer reads as "no spend" to a reconciliation tool.

What to do

Narrow start and end to 400 days or less, and read longer histories with several calls. If the window itself fits but the breakdown produces too many buckets you get granularity_too_fine instead - coarsen granularity there rather than shrinking the window.

Retrying

Fix the request and send it again.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/window_too_large",
    "title": "Requested time window is too large",
    "status": 422,
    "code": "window_too_large",
    "request_id": "a277dcd1ca652c65"
}

Branch your code on code, never on the wording of title.