Skip to content

Client Error

URI: https://docs.ankatech.co/errors/client-error
HTTP Status: 4xx Client Error

When you see this

Any HTTP 4xx response that isn’t explicitly mapped to a more specific error type (400, 401, 403, 404, 409, 413, 422). These errors indicate the request was understood but cannot be processed in its current form.

Common Causes

  • HTTP method not allowed (405 Method Not Allowed).
  • Unsupported media type (415 Unsupported Media Type).
  • Missing or invalid authentication credentials (401 Unauthorized if not mapped elsewhere).
  • Payload too small or required header missing.
  • Rate limit exceeded (429 Too Many Requests).
  • Precondition failed (412 Precondition Failed).
  • Payment required (402 Payment Required).

How to Resolve

  1. Check the HTTP status code and response detail for specifics on why your request was rejected.
  2. Consult the API Reference for guidance on handling that status code.
  3. Correct your request (adjust method, headers, payload size, authentication, rate, etc.) as documented.
  4. Retry the operation once you’ve made the necessary changes.

If you continue to receive a 4xx error after these steps, please refer to the full API Reference or contact support.