Reading the text in an eSIM activation QR code is often the first step in debugging a failed download.
Fields of the LPA string
A consumer eSIM QR code carries a string like:
LPA:1$smdp.example.com$04386-AGYFT-A74Y8-3F815
After the LPA: scheme prefix, the $-separated fields are:
- AC format version:
1(the only version SGP.22 defines) - SM-DP+ address: the FQDN the LPA connects to
- Matching ID (AC_Token): a one-time token binding this download
- SM-DP+ OID: optional
- Confirmation-code-required flag: optional;
1means the user must enter a code
The activation-code decoder splits and validates all of these locally. It never contacts an SM-DP+.
The download/consent flow
The LPA (Local Profile Assistant) on the device parses the code, connects to the named SM-DP+ over ES9+, authenticates the eUICC, then downloads and installs the profile with user consent.
Consumer SGP.22 vs IoT SGP.32
SGP.22 is the consumer model: a person scans a code. SGP.32 is the IoT model: an eIM drives provisioning through the device’s IPA, with no user-scanned code. This article covers only the consumer SGP.22 format.
Check the usual activation failures
- Check the SM-DP+ FQDN resolves and serves ES9+ over HTTPS.
- Confirm the matching ID hasn’t already been redeemed.
- If a confirmation code is required, make sure it’s being collected and passed.