Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Account and access import is failing

Seshadri
New Contributor III
New Contributor III

Hi Team,

We are facing an issue with Account and access import using the REST connector.

Account Import :

We are getting API responses in call1  like below,

"resou": [
"12432-4864-868b-78787gb",
"12432-4864-868b-78787ga",
"12432-4864-868b-78787gd"

]

In Call2 : the API is expecting an input like below with comma separated. 

"httpParams": "{\"ids\":[\"12432-4864-868b-78787gd\"]}"

I tried to achieve dynamic input - "call1.message.resources.toString().replace('[','').replace(']','')~#~char" .But it didn't work at all and i got the response  in logs as mentioned below.

2024-02-06T05:00:35.859+00:00","ecm-worker","","null-whk4g","","   "message": "invalid number of User UUIDs specified in request.""
"2024-02-06T05:00:35.859+00:00","ecm-worker","","null-whk4g","","  }"
"2024-02-06T05:00:35.859+00:00","ecm-worker","","null-whk4g",""," ],"
"2024-02-06T05:00:35.859+00:00","ecm-worker","","null-whk4g",""," "resources": null"
"2024-02-06T05:00:35.859+00:00","ecm-worker","","null-whk4g","","}, cookies:[], statusCode:400]"

 

Access Import :

In postman , we are getting role  API response like below ,

"resou": [
"role1",
"role2",
"role3"

]

To get individual role/ent details , we need to set params like below .

ids : role1

ids : role2

ids : role

Seshadri_0-1707308617695.png

Attaching ImportAccountEntjson.

 

 

2 REPLIES 2

Vedanth-BK
Regular Contributor
Regular Contributor

Hi @Seshadri 

Analyzing the response that you shared above; the REST connector will not be able to map the unique IDs to the account ID  field if it's in a list. i.e. the unique ID needs to be in key value pair for the connector to store in the account ID field and iterate in the next call to get the meta data of that account.
Please let me know if you have any questions.

 

Thank you
Vedanth B.K

rushikeshvartak
All-Star
All-Star

Its not supported 

Unvote the idea https://ideas.saviynt.com/ideas/EIC-I-5499


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.