Image uploads fail in AEM Forms after package removal in Adobe Experience Manager
In Adobe Experience Manager (AEM), image uploads in AEM Forms fail after manually uninstalling the We.Retail packages from author and publish instances. Error messages such as com.adobe.granite.asset.api.AssetException: Failed to create Asset at path [ ...] appear in the logs, and the environment becomes unstable or corrupted. To fix this issue, restore the affected dependencies and recover the AEM environment to reestablish asset creation functionality.
Description description
Environment
- Adobe Experience Manager (AEM), all versions
Symptoms
- Image uploads in AEM Forms fail.
- Error messages appear in the logs similar to:
com.adobe.granite.asset.api.AssetException: Failed to create Asset at path [ ...]. - Instances become unstable or corrupted after package removal.
Cause
Manual removal of We.Retail packages causes missing dependencies or corruption, which impacts asset creation in the DAM and results in image upload failures.
Resolution resolution
Follow the steps below to resolve the issue.
- Restore the affected AEM environments (both author and publish) from a validated backup taken before the We.Retail packages were removed. Supported backup types include repository-level, package-level, or full environment backups, depending on your organization’s backup strategy.
- After the restoration, verify that image upload functionality in AEM Forms is working as expected.
- To prevent similar issues, avoid manually removing or modifying AEM product packages using Package Manager, as this can introduce dependency issues and affect environment stability.
- Before making changes to business-critical or production environments, ensure that recent and validated backups are available for rollback if needed.
recommendation-more-help
experience-cloud-kcs-help-kbarticles