APDU status word · ISO/IEC 7816-4 · EMV

6700Wrong length

What does APDU response 6700 mean?

Checking error: wrong length (Lc or Le).

SW1
67
SW2
00
Category
Error
Defined in
ISO/IEC 7816-4

In an EMV transaction

  • Usually a terminal bug: the Lc does not match the data, or the GPO data does not match the PDOL lengths the card asked for.
  • Check the PDOL/CDOL concatenation — each element must have exactly the length the card listed.

The SW1 67 group

  • SW1 67 means a checking error: wrong length. SW2 is 00.
  • The card appends SW1 SW2 to every response, after any data. Read SW1 first to tell success, warning and error apart, then SW2 for the detail; ISO/IEC 7816-4 groups 61 and 90 as normal processing, 62–63 as warnings, 64–66 as execution errors and 67–6F as checking errors.

Decode any value

Paste any SW1 SW2 status word — including proprietary and card-OS specific values — to look it up in the full list.

Open the APDU Response Codes

Related codes

Something wrong or missing? Report a problem — we check reports against the specs.