eSIM profile lifecycle
The profile and the outcome are in the event’s detail object.
These events are in pre-release and available only to certain Workspaces. To ask about access, contact emnify Support.
How eSIM profile events work
The emnify SM-DP+ reports each step in the life of an eSIM profile: the download to a device, the installation, and each change the device makes to the profile afterward.
The platform turns each report into one event.
The event source is SM-DP+ (ID 4).
One event type covers every outcome of an operation.
The severity and the alert property tell you the outcome:
For example, a failed download is an eSIM profile downloaded event with the severity Critical. Check the severity or the outcome before you act on the event type.
The platform reports a successful download, enable, disable, or delete only when the profile status changes. If the SM-DP+ repeats one of these reports, you don’t get a second event. A repeated failure, or a repeated installation result, produces another event.
The sim property identifies the SIM of the profile.
The endpoint property identifies the device when the SIM is assigned to one.
The event contains no user property.
The timestamp is the time the SM-DP+ gives for the operation.
Event description
The description names the profile by its ICCID, and the device by its EID when the platform knows it:
- Success:
eSIM profile with ICCID 89883030001234567894 enabled on EID 89049032001234567890123456789057. - Warning: the success sentence, followed by
Warning: <reason>. - Failure:
Failed to download eSIM profile with ICCID 89883030001234567894 on EID 89049032001234567890123456789057: <reason>.
The reason comes from the SM-DP+: its message, or its status codes when it sends no message.
A download that doesn’t complete in time has the reason the download timer expired.
Detail object
The detail object of an eSIM profile event contains the following properties:
The platform leaves out a property that has no value.
eSIM profile downloaded
A device downloaded an eSIM profile from the emnify SM-DP+, or tried to and failed.
A failure can come from one of three steps: the eligibility and retry limit check, the confirmation code check, or the download itself.
A download that doesn’t complete in time has the outcome EXPIRED.
eSIM profile installed
A device reported the result of installing an eSIM profile. On success, the profile status is Installed.
eSIM profile enabled
A device enabled an eSIM profile, or tried to and failed. On success, the profile status is Enabled.
eSIM profile disabled
A device disabled an eSIM profile, or tried to and failed.
eSIM profile deleted
A device deleted an eSIM profile, or tried to and failed. On success, the profile status is Deleted.