Error code 403025 when querying the API | Community
Skip to main content
March 27, 2024
Solved

Error code 403025 when querying the API

  • March 27, 2024
  • 1 reply
  • 1206 views

Hi,

We provide a dashboarding application that can fetch our users' analytics data. We used to rely on JWT authentication and we are in the process of migrating to the new OAuth workflow. For development, I've created a new project with a "OAuth Web" credentials type (I want end users to manually authenticate themselves in my app).

I've successfully managed to obtain an access token and a refresh token, but when I try to use the access token to actually query the API, I'm getting the error:

{"error_code":"403025", "message":"Profile is not valid"}

My query looks like this:

 

curl -X GET "https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/dimensions?rsid={REPORT_SUITE_ID}&locale=en_US&segmentable=true&reportable=true&classifiable=true&expansion=categories" \
-H "x-api-key: {Client ID from my 'OAuth Web' connected credentials}" \
-H "x-gw-ims-org-id: {I had to create a 'OAuth Server-to-Server' credentials object to find this one}" \
-H "Authorization: Bearer {access_token received from the /authorize endpoint when called with clitn ID, client secret and scopes from 'OAuth Web'}"

Any idea?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by FarazHusain

Hey @nicolasve1 A couple things you can check- 

 

1. Do you have multiple Analytics company ?

It may be that when you're selecting the company id, you're selecting the one which doesn't have the right attributed to the Adobe IO account.

 

2. When you have created the account in Adobe IO, you have to select the profile attached to that Adobe IO account.
Make sure that the profile possess the correct right for API connection on this report suite / company id.

1 reply

FarazHusain
Adobe Employee
FarazHusainAdobe EmployeeAccepted solution
Adobe Employee
April 5, 2024

Hey @nicolasve1 A couple things you can check- 

 

1. Do you have multiple Analytics company ?

It may be that when you're selecting the company id, you're selecting the one which doesn't have the right attributed to the Adobe IO account.

 

2. When you have created the account in Adobe IO, you have to select the profile attached to that Adobe IO account.
Make sure that the profile possess the correct right for API connection on this report suite / company id.