Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/30/2024 02:32 PM
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
08/30/2024 07:02 PM
Use attached
09/02/2024 04:24 AM
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
09/02/2024 06:46 AM
for 401 does postman is working ?
09/02/2024 08:01 AM
Yes, from postman, it is working fine, see below
Regards,
Himanshu Verma
09/02/2024 08:19 AM
09/02/2024 08:21 AM
Does connection name are correct ?
09/04/2024 08:52 AM
@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.
09/04/2024 08:53 AM
09/04/2024 09:07 AM
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.
09/04/2024 09:40 AM
add testconnection param block and validate for both instance
09/06/2024 05:13 AM
@rushikeshvartak - I have added testconnection param block. PFA the logs when I hit test connection.
Regards,
Himanshu Verma
09/06/2024 07:28 AM
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]]]"
09/06/2024 07:59 AM
@rushikeshvartak When I tried via Postman, I am getting the results, see below
Regards,
Himanshu Verma
09/06/2024 09:12 AM
What url u have used in test connection param
09/06/2024 09:55 AM
09/06/2024 10:42 AM
Just keep one instance at a time and validate test connection param. I don't think we can have multiple test connection params