Expand my Community achievements bar.

Join expert-led sessions on Real-Time CDP & Journey Optimizer designed to boost your impact.
SOLVED

Unified tags error while retrieving via API

Avatar

Level 5

Even though I'm using the right API key, I am still getting the API key is invalid.

https://experience.adobe.io/unifiedtags/tags?tagCategoryId=12345

(using the right tag category id)

KotiSyamala_0-1742434945540.png

 

Getting the 403 error

{
"error_code": "403003",
"message": "Api Key is invalid"
}

 

Documentation is not helpful in this case.

KotiSyamala_1-1742435008487.png

 

Any suggestion would help!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

Just to confirm your using exc_app for the x-api-key ?

View solution in original post

7 Replies

Avatar

Level 6

Can you double-check the key information.

Usually AEP base endpoints: platform.adobe.io

But for Tag, the base endpoint: experience.adobe.io

Avatar

Level 5

platform.adobe.io is throwing 404 not found.

 

experience.adobe.io is the one Adobe API documentation shows: https://developer.adobe.com/experience-platform-apis/references/unified-tags/#operation/listTags

 

 

Avatar

Employee

Hello @KotiSyamala 

 

Please use the following payload

curl --location 'https://experience.adobe.io/unifiedtags/tagCategory' \
--header 'Authorization: Bearer <token>>' \
--header 'x-api-key: exc_app' \
--header 'x-gw-ims-org-id: <<ims-org>>' \
--header 'x-sandbox-name: <<sandbox-name>>'

Avatar

Level 5

Getting the same error!

Avatar

Correct answer by
Employee

Just to confirm your using exc_app for the x-api-key ?

Avatar

Level 5

@brekrut This works! Thank you. Can you please explain us, why we are using it? will the document updated with this?

Avatar

Employee

There is a task to update the Adobe Experience Platform swagger documentation with the updated x-api-key value.