APDU status word · ISO/IEC 7816-4 · EMV
6581Memory failure
What does APDU response 6581 mean?
Execution error; the state of non-volatile memory changed — memory failure.
SW1
65
SW2
81
Category
Error
Defined in
ISO/IEC 7816-4
In an EMV transaction
- Indicates a damaged or worn-out card. The transaction is terminated; the cardholder needs a replacement card.
The SW1 65 group
- SW1 65 means an execution error after the card’s non-volatile memory has changed. SW2 says what failed, for example 81 for a memory failure.
- 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 CodesRelated codes
Something wrong or missing? Report a problem — we check reports against the specs.