From 97ae69403d835d2ad13c3ecdb9d9efd7a483181c Mon Sep 17 00:00:00 2001 From: Oleg Posyniak Date: Mon, 12 Feb 2024 09:40:01 -0600 Subject: [PATCH] DINT-1277: Add troubleshooting guide for Audience Activation --- help/customers/audience-activation.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/help/customers/audience-activation.md b/help/customers/audience-activation.md index c54669bb..fd7d42c5 100644 --- a/help/customers/audience-activation.md +++ b/help/customers/audience-activation.md @@ -318,3 +318,26 @@ Edge.sendEvent(experienceEvent: experienceEvent) { (handles: [EdgeEventHandle]) ``` After data is retrieved, you can use it to create audience-informed [cart price rules](../merchandising-promotions/price-rules-cart-create.md#set-a-condition-using-real-time-cdp-audiences) and [dynamic blocks](../content-design/dynamic-blocks.md#use-real-time-cdp-audiences-in-dynamic-blocks) in the Commerce app. + +## Troubleshooting + +### Audiences are not displayed in Commerce Dashboard with valid tokens + +#### Incorrect authentication type selected in Commerce + +1. Open Commerce your environment -> Stores -> Configuration +2. Navigate to Services -> Data Connection tab +3. Make sure that Authentication Type field represents the type of generate API credentials. In most cases, **OAuth** + +#### Insufficient privileges on generated token + +This issue can be caused by insufficient API privileges for generated token. To ensure the token has correct privileges, follow next steps: + +1. Identify the person with System privileges for Adobe Experience Platform in your organization +2. Find the project and credential that you will be using +3. Make a note of Technical account email (ex. fe3c9476-1234-1234-abcd-2a51a785009a@techacct.adobe.com) +4. Now with help of admin user, proceed to Adobe Experience Platform -> Permissions -> Users -> API credentials +5. Find the credential by Technical account email (from step #3) +6. Open it -> Roles -> Add roles -> Add **Production all access** -> Save +7. Regenerate access token in Console +8. Verify that token provides a valid response using this [Target Connections API](https://developer.adobe.com/experience-platform-apis/references/destinations/#tag/Target-connections/operation/getTargetConnections)