Skip to content

Stats Snapshot Unavailable

URI: https://docs.ankatech.co/errors/stats-snapshot-unavailable
HTTP Status: 503 Service Unavailable

When you see this

The statistics snapshot required to answer this request is not available yet. Aggregated stats are served from a precomputed snapshot that has not been produced.

Common Causes

  • A stats snapshot that has not been generated yet (for example shortly after startup).
  • A failed or in-progress stats aggregation cycle.
  • A temporary outage in the stats snapshot pipeline.

Response Example

{
  "type": "https://docs.ankatech.co/errors/stats-snapshot-unavailable",
  "title": "Stats Snapshot Unavailable",
  "status": 503,
  "detail": "The statistics snapshot is not available. Please retry shortly.",
  "instance": "/api/v3/audit/platform/stats",
  "correlationId": "550e8400-e29b-41d4-a716-446655440000",
  "timestamp": 1730000000
}

Content-Type: application/problem+json — the response follows RFC 7807 Problem Details.

How to Resolve

  1. Wait and retry — the snapshot is produced asynchronously on a schedule.
  2. Honor the Retry-After header when present.
  3. If stats remain unavailable for an extended period, contact support with the correlationId.

For full schema definitions, examples, and interactive testing, see the Developer Hub Reference.