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

  1. Identify whether you need custom destination type definitions or existing configured destinations before selecting the API endpoint.

  2. Use the Flow Service API instead of the authoring endpoint to retrieve existing destinations.

  3. 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
    
  4. 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
    
  5. Send the request and review the response to confirm it returns a populated list of destinations.

  6. Verify that the retrieved data matches the expected configured destinations.

  7. Use the authoring endpoint only when working with custom destination types created using Destination SDK, since it doesn’t return standard configured destinations.

Destination Authoring API

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f