The Kukie.io API answers with the code precondition_failed and the HTTP status 412.
Read the code member of the answer to tell errors apart, never title or detail.
What it means and what to do
The resource has changed since you read it. Read it again, then retry with its new ETag. If the request creates something or acts on something that has no ETag yet, send it without If-Match.
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
- 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}) - Delete a region rule (
DELETE /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})
Every error body has the same members. The errors section of the API reference lists them, with every code.
