Scan analytics are not included in the plan
HTTP 403 ยท type https://qrbolt.com/developers/errors/analytics-not-enabled
What it means
GET /v1/analytics/scans was refused because the plan has no scan analytics: reason is no-plan when the organization has no plan, or not-in-plan when its plan does not include basic analytics. Breakdowns a plan lacks are not refused this way: they are null and named in notInPlan.
What to do
Change to a plan that includes analytics. GET /v1/account/capabilities shows whether analytics are available.
Reasons
Some of these problems carry reason (or code on a conflict) with one of these values. Branch on it as on type; the values never change.
no-plan- The organization has no subscription.
not-in-plan- The plan does not include basic analytics (feature basic_analytics).
All error types
- 400 validation-error
- 400 bad-request
- 400 invalid-cursor
- 400 change-note-required
- 401 unauthorized
- 403 insufficient-scope
- 403 feature-not-enabled
- 403 gs1-not-enabled
- 403 analytics-not-enabled
- 403 forbidden
- 404 not-found
- 409 conflict
- 409 idempotency-in-progress
- 422 idempotency-key-reuse
- 409 idempotency-response-unavailable
- 402 active-code-limit-exceeded
- 415 unsupported-media-type
- 413 payload-too-large
- 429 rate-limited
- 500 internal-error
- 500 worker-lost
- 503 service-unavailable