PARTNERS - Please join us for our upcoming webinar:
Leveraging Intelligent Recommendations for Operational Transformation.
AMS Partners click HERE | EMEA/APJ Partners click HERE

Getting NullResponseFromTarget while importing

TheSaviyntBoy
Regular Contributor
Regular Contributor
Hi,
 
I am trying to import accounts and entitlements via the REST connector. I am getting the following error after running either the account import job or the access import job. The error is: 
 
2024-04-22T13:13:41+05:30-ecm-worker-rest.RestUtilService-quartzScheduler_Worker-6-tm6tp-DEBUG-Got null response statusCode with erroMsg - [error:Error ********: Name or service not known]
 
My ImportAccountEntJSON is: 
 
{
    "accountParams": {
        "connection": "userAuth",
        "processingType": "SequentialAndIterative",
        "statusAndThresholdConfig": {
            "statusColumn": "customproperty4",
            "activeStatus": [
                "Active"
            ],
            "deleteLinks": false,
            "accountThresholdValue": 2000,
            "correlateInactiveAccounts": true,
            "inactivateAccountsNotInFile": false,
            "deleteAccEntForActiveAccounts": true
        },
        "call": {
            "call1": {
                "callOrder": 0,
                "stageNumber": 0,
                "http": {
                    "url": "https://domain-sandbox/Admin/Global/Employees/search",
                    "httpHeaders": {
                        "Authorization": "${access_token}",
                        "Content-Type": "application/json",
                        "Accept": "application/json"
                    },
                    "httpContentType": "application/json",
                    "httpMethod": "GET"
                },
                "statusConfig": {
                    "true": "true",
                    "false": "false"
                },
                "listField": "result",
                "keyField": "accountID",
                "colsToPropsMap": {
                    "accountID": "encId~#~char",
                    "name": "networkAcct~#~char",
                    "status": "status~#~char",
                    "customproperty1": "employeeName~#~char",
                    "customproperty2": "position~#~char",
                    "customproperty3": "emplClassCode~#~char",
                    "customproperty4": "status~#~char",
                    "customproperty31": "STORE#ACC#ENT#MAPPINGINFO~#~char"
                }
            }
        },
        "acctEntMappings": {
            "listField": "emplClassCode",
            "idPath": "emplClassCode",
            "keyField": "entitlementID"
        }
    },
    "entitlementParams": {
        "connection": "userAuth",
        "processingType": "SequentialAndIterative",
        "entTypes": {
            "Group": {
                "entTypeOrder": 0,
                "call": {
                    "call1": {
                        "callOrder": 0,
                        "stageNumber": 0,
                        "http": {
                            "url": "https://domain-sandbox/Admin/Global/Employees/Classes/search",
                            "httpHeaders": {
                                "Authorization": "${access_token}",
                                "Content-Type": "application/json",
                                "Accept": "application/json"
                            },
                            "httpContentType": "application/json",
                            "httpMethod": "GET"
                        },
                        "listField": "result",
                        "keyField": "entitlementID",
                        "colsToPropsMap": {
                            "entitlementID": "emplClassCode~#~char",
                            "entitlement_value": "emplClassCode~#~char",
                            "description": "description~#~char"
                        }
                    }
                }
            }
        }
    },
    "acctEntParams": {
        "processingType": "acctToEntMapping"
    }
}
 
The response I get in postman is like:
{
"result"[
{obj1},{obj12}
]
}
 
This format is for both responses of Account and Groups. The thing to notice here is that We are mapping accounts to groups and not groups to accounts. We get groups unique identifier in the account attributes.
 
What could be the issue?
 
Thank you.
1 REPLY 1

Dhruv_S
Saviynt Employee
Saviynt Employee

Please refer to the below posts with similar issue.

REST connection - Name or service not known error - Saviynt Forums - 60686

Regards,

Dhruv Sharma