Skip to content

Analytics metric unsupported (analytics-metric-unsupported)

PubNio analytics-metric-unsupported problem, HTTP 400: More than maxMetrics (30) metrics were requested, or some metric keys are unknown; metrics lists them.

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 most maxMetrics.

Retryable

No: the SDKs mark HTTP 400 not retryable.

Limits

  • Match on type or code, not on detail.

Type to search…

↑↓ navigate↵ selectEsc close