RDE snapshot creation fails with SNAPSHOT_LIMIT error
Creating a snapshot in an Adobe Experience Manager (AEM) as a Cloud Service Rapid Development Environment (RDE) can fail with the SNAPSHOT_LIMIT error even after existing snapshots are deleted. To fix the issue, wait for the retention period to expire or use the forced delete option to immediately remove retained snapshots and free capacity.
Description description
Environment
Adobe Experience Manager (AEM) as a Cloud Service
Issue/Symptoms
Attempts to create a new snapshot in the RDE environment fail with the following error:
ValidationError: SNAPSHOT_LIMITReached the maximum number or diskspace of snapshots
The RDE supports up to 7 snapshots. Snapshots deleted using the normal method remain counted toward the limit during a 7-day retention period. The issue persists even after deleting existing snapshots, as deleted snapshots are retained for the duration of the retention window.
Cause
The RDE environment enforces a maximum snapshot limit. Snapshots deleted using the normal method remain within the retention period and continue to count toward the limit until purged or forcibly deleted.
Resolution resolution
To fix the SNAPSHOT_LIMIT error, follow these steps:
-
Use the AEM Cloud Manager or the relevant CLI/API to list all current snapshots in the RDE.
-
Confirm whether previously deleted snapshots were removed using the normal delete or forced delete option.
-
If snapshots were deleted normally, either:
-
Wait for the 7-day retention period to expire, after which the deleted snapshots will no longer count toward the limit, or
-
Use the forced delete option to immediately remove snapshots and free up capacity. Refer to the documentation for forced deletion instructions: Delete a Snapshot (Experience League)
-
-
Once capacity is available, attempt to create the new snapshot again.