Error reference

ip_not_allowed

HTTP status
403 Forbidden
Returned by
API keys

What it means

The API key has an IP allowlist and the request came from an address that is not on it.

Typical causes

  • Your server's outbound IP changed (a new host, a NAT gateway, a serverless platform).
  • The request went through a proxy with a different address.

How to fix it

  • Add the address (or its CIDR range) to the key's allowlist in Settings → Developers.
  • The ip in the error shows the address Kweko saw.

Message

English text, as sent with Accept-Language: en. With ru or uz the API sends the translation.

  • Requests from this IP address are not allowed for this API key.
    RU: Запросы с этого IP-адреса запрещены для этого API-ключа.
    UZ: Bu API kalit uchun ushbu IP manzildan soʻrovlarga ruxsat yoʻq.

Example response

Response
HTTP/1.1 403 Forbidden
Content-Type: application/json; charset=utf-8
X-Request-Id: req_4f2a9c1e0b7d3a55

{
  "error": {
    "code": "ip_not_allowed",
    "message": "Requests from this IP address are not allowed for this API key.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/ip_not_allowed",
    "ip": "203.0.113.24"
  }
}

All error codes · The error format