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

Fetch Analytics data from one Saviynt instance to another via Sav4Sav (REST) connector

himanshu
New Contributor
New Contributor

Hi Community,

We have a requirement to fetch Analytics data using the API endpoint https://<instance1>/ECM/api/v5/fetchControlDetailsES from Saviynt instance1 to Saviynt instance2 via Sav4Sav (REST) connector.

Below are Saviynt instance details:

https://<instance1>/ECM (version 24.5) - is the Saviynt instance1 where Analytics is created and scheduled to run.

https://<instance2>/ECM (version 23.9) - is the Saviynt2 where the data needs to be pulled via Sav4Sav (REST) connector using the API endpoint https://<instance1>/ECM/api/v5/fetchControlDetailsES

I have attached the ConnectionJSON, ImportUserJSON, UpdateUserJSON and logs (all attachments are sanitized ) for reference.

"pullObjectsByRest - responseStatusCode ::500" is the response reported in logs.

Appreciate your quick response.

Regards,

Himanshu Verma

16 REPLIES 16

rushikeshvartak
All-Star
All-Star

Use attached


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

himanshu
New Contributor
New Contributor

Hi @rushikeshvartak ,

Thanks for the response.

I have used your JSONs and tried but no luck. I am getting 500 and 401, please find attached the logs.

Regards,

Himanshu Verma

for 401 does postman is working ?


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

Yes, from postman, it is working fine, see below

himanshu_0-1725289264825.png

Regards,

Himanshu Verma

  • Does test connection working ?
  • Did you added test connection param in connection json ?

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

Does connection name are correct ?

rushikeshvartak_0-1725290469555.png

 


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

@rushikeshvartak test connection is successful and connection name is also correct (just provided the dummy name in connection name instead of actual domain name) but still it is not working.

  • You did test connection for i1 or i2 test for both

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

I have used the connection JSON provided by you which has both the instance and used it in the connection where test connection is successful.

add testconnection param block and validate for both instance


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

@rushikeshvartak  - I have added testconnection param block. PFA the logs when I hit test connection.

Regards,

Himanshu Verma

It seems account does not have required access 

"2024-09-06T10:11:15.353+00:00","ecm","rest.RestProvisioningService","http-nio-8080-exec-15","DEBUG","responseTextMap of testConnectionRest: [html:[head:[style:[type:text/css, content:body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}], title:HTTP Status 403 – Forbidden], lang:en, body:[h1:HTTP Status 403 – Forbidden]]]"


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

@rushikeshvartak When I tried via Postman, I am getting the results, see below

himanshu_0-1725634721673.png

Regards,

Himanshu Verma

What url u have used in test connection param


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

@rushikeshvartak - PFA the connectJSON.

Regards,

Himanshu Verma

Just keep one instance at a time and validate test connection param. I don't think we can have multiple test connection params


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