Connected Assets panel loading or timeout issues during bulk asset migration

This article outlines steps to resolve issues where the Connected Assets panel in Adobe Experience Manager (AEM) Assets loads indefinitely or times out during bulk asset migrations.

Description description

Environment

  • Adobe Experience Manager (AEM) Assets as a Cloud Service
  • AEM Sites Managed Service
  • Applies to all supported versions and deployment environments

Issue/Symptoms

  • Connected Assets panel loads indefinitely
  • Gateway Timeout error after several minutes
  • Issue occurs for end users with restricted DAM permissions, but not for users with broader access

Cause

The issue occurs when repository queries from the Connected Assets panel traverse a large number of DAM nodes, often due to broad search paths and restrictive user permissions. Oak’s query protection mechanism halts queries that exceed the node traversal threshold, causing timeouts.

Resolution resolution

To fix Connected Assets panel loading or timeout issues, follow these steps:

  1. Review user permissions:

    1. Ensure that end users who need to access the Connected Assets panel have appropriate permissions to the relevant DAM folders.
    2. If possible, temporarily grant broader access to affected users and verify if the issue persists.
  2. Limit query scope:

    1. Avoid configuring Connected Assets or asset finder queries to search from the DAM root if users only require access to a subset of folders.
    2. Restrict the search path to only those folders users can access to reduce query size and ACL evaluation overhead.
  3. Monitor bulk migration impact:

    1. Be aware that large-scale asset migrations can significantly increase repository load and the number of nodes traversed by queries, especially when combined with restrictive ACLs.
    2. Schedule bulk migrations during periods of low user activity when possible.
  4. Check for repository query limits:

    1. Review logs for warnings about node traversal limits, such as RuntimeNodeTraversalException.
    2. If you believe repository-level query limits need adjustment, consult with your system administrator or Adobe Support before making changes.

After making these changes, verify that the Connected Assets panel loads as expected for affected users.

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