In GC and RI the endpoint /groups/{group_email}/membersCount for entitlements service (count-members-api) is running into error or not implmented.
When exercising the Entitlement service with the following endpoint to count members in a group https://preship.gcp.gnrg-osdu.projects.epam.com/api/entitlements/v2/groups/data.certification41819.viewers@m19.group/membersCount?role=OWNER is failing It returns an error code of 500 - Internal Server Error with the following response
Response
{ "code": 500, "reason": "Internal Server Error", "message": "An unknown error has occurred" }The same endpoint is working in AWS and Azure environments.