404 responses for ABAC-restricted asset delivery in Dynamic Media with OpenAPI

A 404 response can occur when a Dynamic Media with OpenAPI delivery request is not authorized by the ABAC rule configured for an asset. The response alone does not identify the cause. Use the checks below to verify the token, subject attributes, ABAC rule, asset metadata, and delivery configuration.

Description description

Environment

  • Adobe Experience Manager (AEM) as a Cloud Service
  • Dynamic Media with OpenAPI delivery ABAC enabled for the target environment

Symptoms

  • A delivery request for a restricted asset returns 404 Not Found.
  • A public or otherwise permitted asset may return successfully while the restricted asset does not.
  • The 404 alone does not distinguish an authorization denial from an unavailable or incorrectly addressed asset.

Cause

A 404 can occur when the delivery request is not authorized under the asset’s ABAC rule. For example:

  • The delivery request omits the required delivery token, or the token is expired or invalid.
  • The token’s subjectAttributes do not match the user/group attributes expected by the ABAC rule.
  • The asset metadata, rule conditions, or environment configuration do not match the intended policy.
  • The token was not successfully generated—for example, the integration is still calling an obsolete experimental token endpoint.

Resolution resolution

Follow the steps below to resolve the issue.

  1. Use the GA token endpoint. Generate the delivery token by calling /adobe/assets/token on the delivery host for the target environment. Do not use the dated experimental endpoint /adobe/experimental/abacdelivery-expires-20261028/assets/token.
  2. Verify the token API caller’s authorization. The IMS bearer token used to call the token API must belong to a user or technical account with the required administrator-profile access for the AEM environment serving the asset.
  3. Verify the subject attributes separately. Confirm that the subjectAttributes in the token request contain the user or group attributes required by the configured ABAC rule. The caller’s administrator access does not, by itself, ensure that the subject attributes match the asset’s policy.
  4. Check the ABAC rule and asset metadata. Confirm that the rule is configured for the correct environment and references the intended metadata property and value. Verify that the subject attributes match the exact group identifiers or values expected by that rule.
  5. Confirm the asset is available for delivery. Verify that the asset is approved or published for the expected delivery path, and confirm that the request uses the correct environment and asset URL.
  6. Retest with permitted and non-permitted identities. Test with subject attributes that satisfy the rule and with attributes that do not. An unauthorized request may correctly return 404. A permitted request should succeed only when the asset is also available for delivery and the policy matches.
  7. If token generation fails, capture the API response. For Adobe Support, provide the endpoint, response status and body, target environment, and a redacted request body. Do not include bearer tokens, client secrets, or generated delivery tokens.

Content Hub Scope

This procedure covers Dynamic Media with OpenAPI delivery URLs. If the issue occurs in the Content Hub user interface, use the Content Hub ABAC guidance to review the user’s access, ABAC policy, group mapping, and asset metadata. Do not use the Dynamic Media delivery-token endpoint as a general Content Hub login fix.

recommendation-more-help
experience-cloud-kcs-help-kbarticles