HTTP 400 Analytics metric unsupported. More than maxMetrics (30) metrics were requested, or some metric keys are unknown; metrics lists them.
When it happens
7 of 175 API operations declare it.
Response body
{
"type": "https://pubnio.com/docs/problems/analytics-metric-unsupported/",
"status": 400,
"title": "Analytics metric unsupported",
"detail": "Unknown analytics metric.",
"code": "analytics_metric_unsupported",
"metrics": ["reach_7d"],
"maxMetrics": 30,
"requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}| Field | Type | Always present |
|---|---|---|
metrics |
array of string | Yes |
maxMetrics |
integer | No |
Recovery for agents
- Drop the keys in
metrics, or split the request into calls of at mostmaxMetrics.
Retryable
No: the SDKs mark HTTP 400 not retryable.
Limits
- Match on
typeorcode, not ondetail.