Expand my Community achievements bar.

Get ready! An upgraded Experience League Community experience is coming in January.

Adobe Aalytics API Error

Avatar

Level 1

Hi,

 

I am trying to fetch data from adobe analytics Api. but unfortunately i am getting below error .

could some one help me how to fix this error.

I am trying to pull list of dimensions and metrics in the report suite.

 

Dimensions:
{
    "error_code": "500701",
    "message": "GRM internal server error"
}

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

 Thanks,

Raju.

Topics

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

3 Replies

Avatar

Community Advisor and Adobe Champion

Hi @RaviSh17 

interval server errors are likely a case for a support ticket. Would you mind sharing the API payload you are sending and the endpoint you are using?

Cheers from Switzerland!


Avatar

Level 1

hi Bjoern,

 

thanks for the response.

i am trying to list out the metrics and dimensions in the Report suite. also COMPANY ID and ORG ID are same is that okay.

here is the url and headers used.

 

base_url = f"https://analytics.adobe.io/api/{COMPANY_ID}"

headers = {
"Authorization": f"Bearer {token}",
"x-api-key": API_KEY,
"x-gw-ims-org-id": ORG_ID,
"x-proxy-global-company-id": COMPANY_ID,
"Accept": "application/json"
}

 

# ---- GET DIMENSIONS ----
dims = requests.get(f"{base_url}/dimensions?rsid={RSID}", headers=headers).json()
# ---- GET METRICS ----
mets = requests.get(f"{base_url}/metrics?rsid={RSID}", headers=headers).json()

 

please let me know if you need any more details.

 

thanks,

Raju

Avatar

Community Advisor and Adobe Champion

I believe "GRM internal server error" is an authentication error... I found other people posting about the same issue a few years ago, but no accepted solution... I agree with @bjoern__koth, this might be a candidate for client care, where you can actually share more details about your API including the authentication being used.