Empty destinations API response in Adobe Experience Platform
Attempting to retrieve a list of destinations using a specific Destination API endpoint in Adobe Experience Platform (AEP) returns an empty list. This behavior occurs when the endpoint retrieves only custom destination type definitions, and none exist. To resolve the issue, use the Flow Service API instead of the authoring endpoint.
Description description
Environment
Adobe Experience Platform (AEP)
Issue/Symptoms
Querying the /data/core/activation/authoring/destinations endpoint returns an empty items array even when destinations exist, and the response doesn’t reflect configured or active destination flows.
Resolution resolution
-
Identify whether you need custom destination type definitions or existing configured destinations before selecting the API endpoint.
-
Use the Flow Service API instead of the authoring endpoint to retrieve existing destinations.
-
Send a request to the Flow Service API with filters for enabled state and destination flows:
code language-none https://platform.adobe.io/data/foundation/flowservice/flows?property=state%3D%3Denabled&property=inheritedAttributes.properties.isDestinationFlow%3D%3Dtrue&projectionFields=name%2CtargetConnectionIds&limit=100 -
Include all required headers in the request:
code language-none Accept: application/json Content-Type: application/json Authorization: Bearer xxxxxxxxxx x-api-key: xxxxxxxxx x-gw-ims-org-id: xxxxxxxx@AdobeOrg x-sandbox-name: xxxxx -
Send the request and review the response to confirm it returns a populated list of destinations.
-
Verify that the retrieved data matches the expected configured destinations.
-
Use the authoring endpoint only when working with custom destination types created using Destination SDK, since it doesn’t return standard configured destinations.