Published assets return 404 on Edge Delivery Services (AEMaaCS)
If your published assets return 404 (Not Found) errors on Edge Delivery Services, check your config.json
file. You must include the correct content paths and assign the appropriate cloud configuration to the DAM folder.
Description description
Environment
- Adobe Experience Manager (AEM) as a Cloud Service
- Edge Delivery Services (EDS)
Issue/Symptoms
- Published assets (e.g., PDFs, images, or videos) return an HTTP 404 when accessed via EDS URLs.
- Browser network logs or error messages include: x-error
[
static: content]
S3: Not Found.
Resolution resolution
To resolve the issue, follow these steps:
-
Ensure the Asset is published. Add
/content/dam
(or/content
) to theincludes
array in theconfig.json
file. Note: AEM Assets (such as PDFs, images, and videos) are stored under the/content/dam
path in AEM. If the EDS configuration(config.json)
does not include/content/dam
in itsincludes
array, the EDS backend will not recognize or deliver any content from that path.code language-none "includes": [ "/content/" ]
-
Assign the appropriate Edge Delivery Services Cloud Configuration to the DAM folder containing the asset. For steps, refer to Assigning a Proper Configuration to an Asset Folder in the Adobe Experience Manager.
-
Republish the Asset and the Referencing Pages.
-
After updating configuration and republishing, verify that authored pages and templates reference assets are stored in the correct DAM folder. Ensure those assets are included in the EDS configuration. Preview the page and test referenced asset URLs directly in
.aem.live
to ensure proper delivery.
Related reading
Configure your content source in one click for Edge Delivery Services in the AEM as a Cloud Service User Guide.