Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Access import of Google Play Console

ASVijayan
New Contributor
New Contributor
Hi,
We are trying to onboard an instance of Google Play Console (REST)  to Saviynt. We are able to import the accounts as expected but are facing issues while importing the access. 
Sample API response looks like this :
{
    "users": [
        {
            "name": "developers/********************/users/abc@xyz.com",
            "email": "abc@xyz.com",
            "accessState": "ACCESS_GRANTED",
            "developerAccountPermissions": [
                "CAN_VIEW_NON_FINANCIAL_DATA_GLOBAL",
                "CAN_VIEW_APP_QUALITY_GLOBAL"
            ],
            "grants": [
                {
                    "name": "developers//********************//users/users/abc@xyz.com/grants/com.discovery.discoplus",
                    "packageName": "com.discovery.discoplus",
                    "appLevelPermissions": [
                        "CAN_VIEW_NON_FINANCIAL_DATA",
                        "CAN_VIEW_APP_QUALITY"
                    ]
                },
                {
                    "name": "developers//********************//users/users/abc@xyz.com/grants/com.discovery.dplay",
                    "packageName": "com.discovery.dplay",
                    "appLevelPermissions": [
                        "CAN_VIEW_NON_FINANCIAL_DATA",
                        "CAN_VIEW_APP_QUALITY"
                    ]
                }
            ]
        }
}
We have two entitlement types, developerAccountPermissions and grants. 
developerAccountPermissions is getting imported properly despite the error in the logs ""rest.RestUtilService","quartzScheduler_Worker-2-l72j7","DEBUG","Exception in RestUtil.getAt : groovy.lang.MissingPropertyException: No such property: #CONST#${response==null?'': response? for class: java.lang.String". Why is this error being thrown?
 
for the other entitlement grants, we are getting an error "Exception in persistObjects :"
"2024-09-20T02:38:34.659+00:00","ecm-worker","","null-l72j7","","java.lang.ArrayIndexOutOfBoundsException"
"2024-09-20T02:38:33.887+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-2-l72j7","ERROR","Invalid record not processed for grants: "
How can this error be fixed?
 
Regards,
Athira Vijayan
2 REPLIES 2

rushikeshvartak
All-Star
All-Star

Please share import json


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Attaching importjson and logs.