The Kukie.io API answers with the code payload_too_large and the HTTP status 413.
Read the code member of the answer to tell errors apart, never title or detail.
What it means and what to do
Couldn't accept the request because its body is larger than 1 MiB (1,048,576 bytes). Send a smaller body.
This is the answer's usual detail. An operation can say more in its own detail, so read that too.
Operations that answer with it
- Create a site (
POST /v1/sites) - Update a site (
PATCH /v1/sites/{siteKey}) - Change banner settings (
PATCH /v1/sites/{siteKey}/banner) - Replace one language's banner texts (
PUT /v1/sites/{siteKey}/banner/texts/{locale}) - Create a region rule (
POST /v1/sites/{siteKey}/region-rules) - Change a region rule (
PATCH /v1/sites/{siteKey}/region-rules/{regionCode}) - Move cookies into a category (
POST /v1/sites/{siteKey}/cookies/categorise) - Change the accessibility widget settings (
PATCH /v1/sites/{siteKey}/accessibility-widget) - Replace one language's widget texts (
PUT /v1/sites/{siteKey}/accessibility-widget/texts/{locale}) - Start a cookie scan (
POST /v1/sites/{siteKey}/scans) - Copy a site's settings to other sites (
POST /v1/sites/{siteKey}/copy-settings) - Add a webhook endpoint (
POST /v1/webhook-endpoints) - Change a webhook endpoint (
PATCH /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)
Every error body has the same members. The errors section of the API reference lists them, with every code.
