Group ID Missmatch in Analytics API / shares and User Management API | Community
Skip to main content
March 4, 2024
Solved

Group ID Missmatch in Analytics API / shares and User Management API

  • March 4, 2024
  • 1 reply
  • 569 views

Hi,

 

I'm using the Analytics API to create projects from templates. Using naming conventions, I'm trying to share the project to the correct user group. To get the group id (as required parameter for the /share endpoint) I'm querying the user management API.

 

I'm getting the correct group, but providing the id to /componentmetadata/shares gives an

 

Error EXTERNAL_API_ERROR: Could not find imsPlcId=null, groupId=XXX in globalId=XXXX

 

Using the swagger api  (/componentmetadata/shares/component/search) to debug things, I'm retrieving group id's that does not match any of the group id's I receive from the user management API. Not sure if this helps, but the Analytics API-Endpoint gives me group id's that seems to have six digits, the User Management API gives me group id's that seems to have eight and more digits. The id's have nothing obvious in common. 

 

Any hints?

 

Best Holger

 

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 @roth4nd 

 

The Group ID that you see in Adobe Analytics is the legacy one (Analytics - All Admin - User Groups), which is actually like product profiles, but the ones you retrieve via User Management API are user groups created in the Admins Console. Hence the ID doesn't match.

Group in Adobe Analytics:

 

Product Profile in Admin Console:

 


Can you try fetching the Product Profile ID - https://adobe-apiplatform.github.io/umapi-documentation/en/api/getProductProfile.html

and use that particular licenseGroupID for sharing the projects.

 

To get the user IDs you can use the below two User API 2.0 - https://adobedocs.github.io/analytics-2.0-apis/

 

 

 

1 reply

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

Hey @roth4nd 

 

The Group ID that you see in Adobe Analytics is the legacy one (Analytics - All Admin - User Groups), which is actually like product profiles, but the ones you retrieve via User Management API are user groups created in the Admins Console. Hence the ID doesn't match.

Group in Adobe Analytics:

 

Product Profile in Admin Console:

 


Can you try fetching the Product Profile ID - https://adobe-apiplatform.github.io/umapi-documentation/en/api/getProductProfile.html

and use that particular licenseGroupID for sharing the projects.

 

To get the user IDs you can use the below two User API 2.0 - https://adobedocs.github.io/analytics-2.0-apis/