Expand my Community achievements bar.

Join us at Adobe Summit 2024 for the Coffee Break Q&A Live series, a unique opportunity to network with and learn from expert users, the Adobe product team, and Adobe partners in a small group, 30 minute AMA conversations.

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

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

Community Advisor

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.