• Cheat sheets
  • Documentation
  • API reference
  • Product updates
  • Sign in
Kontent.ai Learn
  • Try Kontent.ai
  • Plan
  • Set up
  • Model
  • Develop
  • Create
Sync API v2
API Reference
    • About Sync API
    • Why use Sync API?
    • Authentication
    • Postman collection
    • SDKs
    • API limitations
      • Introduction
      • Error object
        Schema
    • Guidelines on handling changes

Errors

The API returns standard HTTP status codes to indicate the success or failure of a request. In general, status codes in the 2xx range indicate a successful request, status codes in the 4xx range indicate errors caused by an incorrect input (for example, providing incorrect API key), and status codes in the 5xx range indicate an error on our side.

HTTP status codes summary

Status codeDescription
400 Bad RequestThe request was not understood. Check if your request is missing a required parameter or contains an invalid query parameter value.
401 UnauthorizedThe provided API key is doesn't provide access to the requested resource. The error can also occur if the API key is malformed or missing. Try copying and  pasting your current API key to avoid typos.
403 ForbiddenThe provided API key is valid but doesn't provide permission for the specified resource.
404 Not FoundThe requested resource doesn't exist. Try checking the resource name for typos.
405 Method Not AllowedThe requested HTTP method is not supported for the specified resource.
429 Too Many RequestsThe rate limit for the API has been exceeded. Try your request again after a few seconds as specified in the Retry-After header.
5xx Internal Error or Service UnavailableSomething went wrong on our side. Try your request again after a few seconds and use a retry policy.

Resolving errors

For troubleshooting failed requests, the API provides error messages defined in a consumable format to help you identify and fix the issue.
If you cannot identify and resolve an issue with your API call, you can contact our Support team with the response status and request ID from the error response, and we’ll help you troubleshoot.

Error object

Error object in Delivery API.
message
required · string
The error message explaining what caused the error.
request_id
string · nullable
The performed request's unique ID.
error_code
number · 1-500 · int32
The internal error code for the type of error. Used for finding patterns among error requests.
specific_code
number · int32
Only useful for finding reasons behind failed requests in specific cases.
JSON
{
  "message": "The continuation token specified in the 'X-Continuation' request header is malformed.",
  "request_id": "d9b4b4e4750ee210",
  "error_code": 107,
  "specific_code": 0
}
Copyright © 2025 Kontent.ai. All rights reserved.
  • Web
  • Privacy policy
  • Cookies policy
  • Consent settings
  • Security
  • GDPR