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:
-
Review user permissions:
- Ensure that end users who need to access the Connected Assets panel have appropriate permissions to the relevant DAM folders.
- If possible, temporarily grant broader access to affected users and verify if the issue persists.
-
Limit query scope:
- Avoid configuring Connected Assets or asset finder queries to search from the DAM root if users only require access to a subset of folders.
- Restrict the search path to only those folders users can access to reduce query size and ACL evaluation overhead.
-
Monitor bulk migration impact:
- 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.
- Schedule bulk migrations during periods of low user activity when possible.
-
Check for repository query limits:
- Review logs for warnings about node traversal limits, such as
RuntimeNodeTraversalException. - If you believe repository-level query limits need adjustment, consult with your system administrator or Adobe Support before making changes.
- Review logs for warnings about node traversal limits, such as
After making these changes, verify that the Connected Assets panel loads as expected for affected users.