Skip to main content
KotiSyamala
Level 5
Mar 20, 2025 1:45 AM UTC
Solved

Unified tags error while retrieving via API

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)

 

Getting the 403 error

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

 

Documentation is not helpful in this case.

 

Any suggestion would help!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
brekrut
brekrutAccepted solution
Adobe Employee
Mar 20, 2025 6:22 PM UTC

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

7 replies

Level 5
Mar 20, 2025 7:10 AM UTC

Can you double-check the key information.

Usually AEP base endpoints: platform.adobe.io

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

Translate
KotiSyamala
Level 5
Mar 20, 2025 1:19 PM UTC

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

 

 

Translate
brekrut
Adobe Employee
Adobe Employee
Mar 20, 2025 4:47 PM UTC

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>>'
Translate
KotiSyamala
Level 5
Mar 20, 2025 5:34 PM UTC

Getting the same error!

Translate
brekrut
Adobe Employee
brekrutAdobe EmployeeAccepted solution
Adobe Employee
Mar 20, 2025 6:22 PM UTC

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

Translate