Expand my Community achievements bar.

SOLVED

Adobe API - Error Message

Avatar

Level 2

Hi

 

Any idea why this error message gets triggered while working on Adobe API?

{

    "errorCode": "invalid_metric_access",

    "errorDescription": "[metrics/concurrent_viewers_visitors] metrics are not available based on feature access level",

    "errorId": "17d09ca1-be86-4c74-a78c-6998bd557f1a"

}

 

If I use the "id":"metrics/pageviews", I am able to get the data.

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor and Adobe Champion

You may also want to check if the account is being used by the API in a product profile with permission to the required metrics.

View solution in original post

4 Replies

Avatar

Level 3

Hey @niroy, Concurrent Viewer is a part of Media Analytics. Can you check if your account has Media Analytics enabled (It can be checked in Analytics - Admin -> Company Settings - View feature access levels). I guess the error is due to the feature not enabled.

Avatar

Level 3

I think it should work then if you have access. Are you following this documentation to get the data - https://experienceleague.adobe.com/docs/media-analytics/using/media-reports/get-concurrent-json20.ht... ?
Also, can you access the Media Concurrent Viewers panel in the workspace?

Avatar

Correct answer by
Community Advisor and Adobe Champion

You may also want to check if the account is being used by the API in a product profile with permission to the required metrics.