How to List Assets in a Folder Using AEM Assets Author API with OAuth Web App?
We're doing a POC for a multi-tenant SaaS application that integrates with Adobe Experience Manager as a Cloud Service to enable bulk asset import functionality. Our application uses OAuth Web App authentication to access the AEM Assets Author API on behalf of authenticated users.
Core Requirement:
Our application needs to:
- Browse AEM folder structures
- List assets within selected folders
- Retrieve asset metadata (title, description, tags)
- Download original asset binaries
Current Setup (Successfully Completed):
- ✅ OAuth Web App credential configured in Adobe Developer Console
- ✅ Scopes:
openid,AdobeID,aem.assets.author,aem.folders - ✅ Client ID allowlisted via
api.yamldeployed through Cloud Manager Config Pipeline - ✅ User assigned to "AEM Assets Collaborator Users" Product Profile with "AEM Assets API Users" service enabled
- ✅ OAuth authentication flow working (successfully obtaining access tokens)
- ✅ Able to list folders using:
GET /adobe/folders
Issue - Unable to List Assets:
adobe/assets?limit=10&offset=0
adobe/folders/{folderId}/assets
Requests include required headers:
-
Authorization: Bearer <valid_access_token>X-Api-Key: <client_id>
Error:
{
"type": "https://api.adobeaemcloud.com/adobe/meta/errors/not_found",
"title": "Not Found",
"status": 404,
"detail": "No RequestProcessor can handle this request.",
"requestId": "53f8ac2e-46b3-48cd-ab55-c7aed8f29125"
}