AEM as a Cloud Service: Asset Compute fails PNG rendition generation due to request-size limit
This article explains why PNG assets in AEM as a Cloud Service may remain in the PREPROCESSING state with no renditions when the processing profile requests too many renditions, causing Asset Compute to return a malformed HTTP response.
Description description
Environment
Adobe Experience Manager as a Cloud Service (AEMaaCS) Author (Production)
Issue/Symptoms
- PNG assets uploaded to a DAM folder remain stuck in the PREPROCESSING state.
- No renditions (standard or custom) are generated for the affected assets.
- The Asset Compute microservice returns a malformed HTTP response, causing the rendition generation pipeline to fail silently.
- The asset’s status remains in PREPROCESSING, and a
dam:failedRenditionsnode is created. - All generated renditions are deleted or cleaned up, leaving the asset with zero renditions.
Cause
The processing profile requests an excessive number of renditions, causing the processing request to exceed the 1 MB request-size limit enforced before reaching Asset Compute. This results in Asset Compute returning a malformed HTTP response, which causes the rendition generation to fail and leaves the asset in the PREPROCESSING state.
Resolution resolution
Follow these steps to resolve the issue:
- Navigate to the affected folder’s processing profile in AEM Assets.
- Check the number of renditions defined for assets in this folder.
- Edit the processing profile to decrease the total number of renditions applied to each asset. As a general guideline, keep the total number of renditions at or below 25 to avoid exceeding the current request-size limit (1 MB), though the exact threshold may vary depending on rendition definitions.
- Save changes to the processing profile and ensure it is applied to the folder.
- Upload a PNG asset to the affected folder and verify that renditions are generated successfully and the asset does not remain in PREPROCESSING state.
- Check AEM error logs for any recurrence of HTTP 400 errors or malformed response messages from Asset Compute.
recommendation-more-help
experience-cloud-kcs-help-kbarticles