Ana içeriğe geç

iletiMerkezi API Error Codes

This page lists every response.status.code value the iletiMerkezi REST API returns, with the Turkish message you will see in the wire response. Codes generally mirror HTTP status codes; in some 4xx scenarios the internal code is more specific (e.g., 451 "duplicate order" vs a generic 400).

All error messages on the wire are in Turkish. Branch your client code on the numeric code, not the message string. Codes are stable; messages may evolve.

General flow

  • Success: code: 200, message: "İşlem başarılı" ("Request successful"). Endpoint-specific data (order, balance, senders, blacklist) sits next to status under response.
  • Error: code is in 4xx or 5xx; only response.status is returned, no payload field.

For authentication failures (401), see authentication. The most common first-time 401 is the panel's Allow API access toggle being off, not a bad key/hash.

Message and order status codes (reporting)

These codes appear in get-report under order.status and message[].status.

Message status (message[].status)

CodeTurkishMeaning
110Mesaj gönderiliyorIn carrier queue, no delivery ack yet
111Mesaj gönderildiCarrier confirmed delivery to recipient
112Mesaj gönderilemediCarrier could not deliver (off network, blacklist, format, etc.)

Order status (order.status)

CodeTurkishMeaning
113Siparişin gönderimi devam ediyorSome messages in this order are still queued
114Siparişin gönderimi tamamlandıAll messages reached a final state (each is 111 or 112)
115Sipariş gönderilemediOrder failed entirely (typically rejected during pre-validation)

114 does not mean "everything was delivered"; it means the send pipeline finished. Inspect delivered and undelivered counters in get-report for the actual outcome.

General status codes

CodeTurkish
200İşlem başarılı (Request successful)
400İstek çözümlenemedi (Request could not be parsed)
401Üyelik bilgileri hatalı (Authentication failed)
402Bakiye yetersiz (Insufficient balance)
404API istek yapılan yönteme sahip değil (Method not found)
422İstek içerisindeki değerler doğrulanamadı (Validation failed)
503Sunucu geçici olarak servis dışı (Service temporarily unavailable)

SMS sending errors

Most often hit by send-sms callers.

CodeTurkishPlain English
450Gönderilen başlık kullanıma uygun değilSender ID not approved
451Tekrar eden siparişDuplicate order (idempotency guard)
452Mesaj alıcıları hatalıInvalid or missing recipients
453Sipariş boyutu aşıldıOrder size exceeded
454Mesaj metni boşEmpty message text
455Sipariş bulunamadıOrder not found
456Sipariş gönderim tarihi henüz gelmediScheduled time has not arrived yet
457Mesaj gönderim tarihinin formatı hatalıInvalid sendDateTime format
458Tarih aralığı hatalıInvalid date range
459Başlık kısmı boş olamazSender field cannot be empty
460Başlık 11 karakterden fazla olmamalı ve Türkçe karakter içermemelidirSender max 11 chars, no Turkish characters
467Evrak bilgisi eksikRequired document missing
468IYS üzerinden sorgulama yapılıp yapılmayacağını ayarlamalısınıziys flag is required
469IYS listenizi seçmelisiniz, BIREYSEL veya TACIRiysList must be set when iys=1
470IYS kodunuzu ayarlamalısınızIYS code missing

Practical notes for 451, 452, 468, 469 live in send-sms > "Common pitfalls".

Contacts and groups errors

For the contacts and groups endpoints.

CodeTurkishPlain English
461Grup adını boş bırakamazsınızGroup name required
462Grup id alanını boş bırakamazsınızGroup ID required
463Böyle bir grup bulunamadıGroup not found
464Page değeri 1'den başlamalıPage must be >= 1
465Kişi bulunamadıContact not found
471Arama terimi en az 3 karakter olmalıdırSearch term must be >= 3 chars
472Ad, soyad, cep telefonu, email alanlarından en az biri dolu olmalıdırAt least one of name/surname/phone/email required
473Özel alan bulunamadıCustom field not found

Blacklist errors

For add-blacklist and delete-blacklist.

CodeTurkishPlain English
466Hatalı numaraInvalid number (bad Turkish carrier prefix)
474Bu numara üzerindeki engelleme kaldırılamazCannot remove the block on this number

474 is returned by delete-blacklist when the number is not in your blacklist, distinct from add-blacklist's idempotent behavior (verified in live testing on 2026-04-29).

İYS consent errors

For iys-register and iys-check.

CodeTurkishPlain English
403Aktif abonelik bulunamadıNo active İYS subscription on the account
405Aboneliğinizin kotası dolmuşSubscription quota exceeded
475Alıcı sayısı 5000 kişiyi geçemezRecipient count exceeds the 5000 batch limit

403 is returned when the İYS brand code (brandCode) is unprovisioned or the İYS service is inactive on your account; resolve it by starting the brand registration from the panel.

475 is returned by iys-register when consent.list carries more than 5000 entries, split the list into 5000-record windows and call sequentially. iys-check is single-recipient, so this code is not seen there.

iys-register is batch atomic: a single record failing validation drops the whole request and no records persist. Common 422 causes: consentDate older than 3 days, malformed recipient, out-of-enum recipientType / type / status / source.

Error response shape

Every error response follows the same structure:

{
  "response": {
    "status": {
      "code": 4XX,
      "message": "Turkish message"
    }
  }
}

response.status.code is an integer; response.status.message is always Turkish. Branch your client on the numeric code, not on the message text. Messages may change over time; codes are stable.

Related

Last updated: 2026-04-29 · Türkçe