The Kukie.io API answers with the code insufficient_scope and the HTTP status 403.
Read the code member of the answer to tell errors apart, never title or detail.
What it means and what to do
Couldn't complete the request because this API key doesn't have the permission it needs. Use a key that has the permission named in required_scope.
This is the answer's usual detail. An operation can say more in its own detail, so read that too.
Members that come with this code
| Name | Type | Description |
|---|---|---|
required_scope
|
string | With insufficient_scope: the permission the key lacks. |
Operations that answer with it
- List sites (
GET /v1/sites) - Create a site (
POST /v1/sites) - Get a site (
GET /v1/sites/{siteKey}) - Update a site (
PATCH /v1/sites/{siteKey}) - Delete a site (
DELETE /v1/sites/{siteKey}) - Check the banner installation (
POST /v1/sites/{siteKey}/installation-check) - Get banner settings (
GET /v1/sites/{siteKey}/banner) - Change banner settings (
PATCH /v1/sites/{siteKey}/banner) - List banner texts (
GET /v1/sites/{siteKey}/banner/texts) - Get one language's banner texts (
GET /v1/sites/{siteKey}/banner/texts/{locale}) - Replace one language's banner texts (
PUT /v1/sites/{siteKey}/banner/texts/{locale}) - List a site's region rules (
GET /v1/sites/{siteKey}/region-rules) - Create a region rule (
POST /v1/sites/{siteKey}/region-rules) - Get a region rule (
GET /v1/sites/{siteKey}/region-rules/{regionCode}) - Change a region rule (
PATCH /v1/sites/{siteKey}/region-rules/{regionCode}) - Delete a region rule (
DELETE /v1/sites/{siteKey}/region-rules/{regionCode}) - List a site's cookies (
GET /v1/sites/{siteKey}/cookies) - List a site's cookie categories (
GET /v1/sites/{siteKey}/categories) - Move cookies into a category (
POST /v1/sites/{siteKey}/cookies/categorise) - Get the accessibility widget settings (
GET /v1/sites/{siteKey}/accessibility-widget) - Change the accessibility widget settings (
PATCH /v1/sites/{siteKey}/accessibility-widget) - List the accessibility widget texts (
GET /v1/sites/{siteKey}/accessibility-widget/texts) - Replace one language's widget texts (
PUT /v1/sites/{siteKey}/accessibility-widget/texts/{locale}) - List a site's scans (
GET /v1/sites/{siteKey}/scans) - Start a cookie scan (
POST /v1/sites/{siteKey}/scans) - Read a scan (
GET /v1/sites/{siteKey}/scans/{scanId}) - List the cookies a scan found (
GET /v1/sites/{siteKey}/scans/{scanId}/cookies) - Read a scan report (
GET /v1/sites/{siteKey}/scans/{scanId}/report) - Download a scan report as PDF (
GET /v1/sites/{siteKey}/scans/{scanId}/report/pdf) - Read a consent record (
GET /v1/sites/{siteKey}/consent-records/{consentId}) - Read a site's consent statistics (
GET /v1/sites/{siteKey}/consent-stats) - Copy a site's settings to other sites (
POST /v1/sites/{siteKey}/copy-settings) - List webhook endpoints (
GET /v1/webhook-endpoints) - Add a webhook endpoint (
POST /v1/webhook-endpoints) - Get a webhook endpoint (
GET /v1/webhook-endpoints/{endpointId}) - Change a webhook endpoint (
PATCH /v1/webhook-endpoints/{endpointId}) - Delete a webhook endpoint (
DELETE /v1/webhook-endpoints/{endpointId}) - Rotate a webhook endpoint's signing secret (
POST /v1/webhook-endpoints/{endpointId}/rotate-secret) - Send a test event (
POST /v1/webhook-endpoints/{endpointId}/test) - List events (
GET /v1/events) - Get an event (
GET /v1/events/{eventId})
Every error body has the same members. The errors section of the API reference lists them, with every code.
