HTTP 422 Ad insight range invalid. An ad insights from or to is not a valid date or is reversed (invalid_range), or the span is over 730 days (range_too_wide).
When it happens
40 of 175 API operations declare it.
Response body
{
"type": "https://pubnio.com/docs/problems/ad-insight-range-invalid/",
"status": 422,
"title": "Ad insight range invalid",
"code": "ad_insight_range_invalid",
"reason": "range_too_wide",
"maxDays": 730,
"requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}| Field | Type | Always present |
|---|---|---|
reason |
"invalid_range", "range_too_wide" |
Yes |
maxDays |
integer | No |
Recovery for agents
- Read
detailfor the cause.
Retryable
No: the SDKs mark HTTP 422 not retryable.
Limits
- Match on
typeorcode, not ondetail.