Logo .id PANDIDokumentasi PengembangPANDI EPP
PANDI · REFERENSI PENGEMBANG EPP

Kode respons EPP

Response EPP memakai kode numerik pada <result>. Kode respons membedakan transaksi berhasil, tertunda, dan ditolak.

EPP responses use numeric <result> codes. Result codes distinguish successful, pending, and rejected operations.

Cara kerja

Response EPP memakai kode numerik pada <result>. Kode respons membedakan transaksi berhasil, tertunda, dan ditolak.

  1. 1000: perintah selesai; 1001: diterima tetapi penyelesaian tertunda.
  2. 2003/2004/2005: parameter atau format tidak tepat.
  3. 2101/2105: perintah tidak didukung atau objek tidak memenuhi syarat.
  4. 2200–2305: otorisasi, relasi, status, atau objek tidak ditemukan.

Kode yang muncul dalam hasil uji atau protokol terkait

CodeMaknaPenanganan
1000Command completed successfullyPerintah berhasil
1001Command completed successfully; action pendingDiterima; masih pending
1300Command completed successfully; no messagesPoll queue kosong
1301Command completed successfully; ack to dequeuePoll message harus di-ack
1500Command completed successfully; ending sessionLogout berhasil
2003Required parameter missingParameter wajib tidak ada
2004Parameter value range errorNilai parameter di luar batas
2005Parameter value syntax errorSintaks parameter salah
2101Unimplemented commandPerintah tidak didukung
2105Object is not eligible for renewalObjek tidak memenuhi syarat renew
2200Authentication errorAutentikasi gagal
2201Authorization errorTidak berhak mengakses objek
2202Invalid authorization informationAuthInfo tidak valid
2301Object pending transferObjek dalam proses transfer
2302Object existsObjek sudah terdaftar
2303Object does not existObjek tidak ditemukan
2304Object status prohibits operationStatus melarang operasi
2305Object association prohibits operationRelasi objek melarang operasi
2306Parameter value policy errorParameter melanggar kebijakan

How it works

EPP responses use numeric <result> codes. Result codes distinguish successful, pending, and rejected operations.

  1. 1000: completed; 1001: accepted but pending completion.
  2. 2003/2004/2005: invalid parameters or syntax.
  3. 2101/2105: unsupported command or invalid eligibility.
  4. 2200–2305: authorization, association, status, or missing object.

Codes found in tests or the underlying protocol

CodeMeaningHandling
1000Command completed successfullyCommand successful
1001Command completed successfully; action pendingAccepted; still pending
1300Command completed successfully; no messagesPoll queue empty
1301Command completed successfully; ack to dequeuePoll message awaits acknowledgement
1500Command completed successfully; ending sessionLogout succeeded
2003Required parameter missingRequired parameter missing
2004Parameter value range errorParameter out of range
2005Parameter value syntax errorInvalid parameter syntax
2101Unimplemented commandUnsupported command
2105Object is not eligible for renewalNot eligible for renewal
2200Authentication errorAuthentication failure
2201Authorization errorUnauthorized object access
2202Invalid authorization informationInvalid authorization information
2301Object pending transferObject pending transfer
2302Object existsObject exists
2303Object does not existObject missing
2304Object status prohibits operationObject status prohibits operation
2305Object association prohibits operationObject association prohibits operation
2306Parameter value policy errorParameter policy violation

Permintaan dan respons XML

Contoh XML bersifat ilustratif, menggunakan identitas dan domain contoh. Jangan kirim nilainya ke server produksi.

XML permintaan

XML · Permintaan
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xmlns:host="urn:ietf:params:xml:ns:host-1.0" xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1" xmlns:rgp="urn:ietf:params:xml:ns:rgp-1.0">
  <command>
    <info><domain:info><domain:name>missing-example.id</domain:name></domain:info></info>
    <clTRID>REG-EXAMPLE-0001</clTRID>
  </command>
</epp>

XML respons

XML · Respons
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xmlns:host="urn:ietf:params:xml:ns:host-1.0" xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1" xmlns:rgp="urn:ietf:params:xml:ns:rgp-1.0">
  <response>
    <result code="2303"><msg>Object does not exist</msg></result>
    <trID><clTRID>REG-EXAMPLE-0001</clTRID><svTRID>SERVER-EXAMPLE-0001</svTRID></trID>
  </response>
</epp>