Allow Adobe Edge Delivery Services media fetcher access to DAM assets when blocked by Imperva bot protection
This article explains how to resolve issues where Adobe Edge Delivery Services (EDS) media fetcher requests for DAM assets are blocked by Imperva bot protection, resulting in authentication challenges or HTTP 401 responses.
Description description
Environment
- Adobe Experience Manager as a Cloud Service
- Adobe Edge Delivery Services (EDS)
- Imperva bot protection
Issue/Symptoms
- Requests from the EDS media fetcher to retrieve assets under the
/content/dam/*path are blocked. - The fetcher receives a bot challenge, CAPTCHA page, or an HTTP 401 Unauthorized response instead of the expected image.
- Browser-based access to the same assets may not be affected.
Cause
Imperva bot protection interprets automated requests from the EDS media fetcher as bot traffic and issues a challenge or blocks the request.
Resolution resolution
Follow these steps to resolve the issue:
-
Identify where the access restriction is enforced:
- Determine whether the HTTP 401 response or bot challenge is applied at the Imperva layer or by another intermediary, such as a CDN or an AEM Cloud Manager IP allowlist.
-
Allowlist or bypass the EDS fetcher in Imperva:
- Preferred: Add an Access Rule in Imperva to allowlist the Edge Delivery Services fetcher egress IP range(s) for your site, scoped to
/content/dam/*if possible. Refer to public Adobe documentation for the current EDS egress IP ranges. - Alternative: Create a Bot Access Control or custom rule in Imperva to allow the EDS fetcher
User-Agenton/content/dam/*, bypassing bot challenges for thatUser-Agentand path. Identify the EDS fetcherUser-Agentfrom server logs or request headers. - Fallback: Exempt the
/content/dam/*path from bot or JavaScript challenges entirely. This is considered low risk if DAM renditions are non-sensitive public images.
- Preferred: Add an Access Rule in Imperva to allowlist the Edge Delivery Services fetcher egress IP range(s) for your site, scoped to
-
If an IP allowlist is implemented in AEM Cloud Manager, add the relevant EDS egress IP(s), as documented in Adobe public documentation, to the author-tier IP allowlist for the environment.
-
Validate the response:
- Ensure that requests to
/content/dam/*from the EDS fetcher receive the actual image bytes (HTTP 200,image/*) instead of an HTML challenge page or CAPTCHA.
- Ensure that requests to
recommendation-more-help
experience-cloud-kcs-help-kbarticles