API errors

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