Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/19/2024 07:11 AM
Hi Team,
I'm reaching out for assistance with an issue we're encountering in Saviynt while trying to import data in text/XML format from our target. We're running into an error in ConnectionJSON, specifically: "Cannot get property 'userName' on null object", after executing the account import job.
We have converted our XML data to JSON using an online converter for ease of definition and readability. Here's a snapshot of what our XML looks like:
04/19/2024 10:48 AM
Please share curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
04/22/2024 12:17 AM - last edited on 04/22/2024 12:38 AM by Sunil
curl --location 'http://10.00.000.00/xxxxxxxxxxxxx ' \
--header 'Content-Type: application/xml' \
--data '<NETBOX-API>
<COMMAND name="Login" num="1">
<PARAMS>
<USERNAME>xxxx</USERNAME>
<PASSWORD>xxxx</PASSWORD>
</PARAMS>
</COMMAND>
</NETBOX-API>'
[This message has been edited by moderator to mask url]
04/30/2024 03:53 AM
Hi Team,
Could you please assist on the issue?
04/30/2024 09:16 PM
Please add testConnectionParams In Connection JSON and share logs
05/02/2024 03:36 AM
I have attached the logs, tried with below connection as well,
{
"authentications": {
"acctAuth": {
"authType": "Basic",
"url": "http://xxxxx/xxxx/xxxx",
"httpMethod": "POST",
"properties": {
"userName": "xxxx",
"password": "xxxx"
},
"httpHeaders": {
"Content-Type": "application/xml"
},
"httpParams": {
"NETBOX-API": {
"COMMAND": {
"PARAMS": {
"USERNAME": "xxxx",
"PASSWORD": "xxxxx"
},
"_name": "Login",
"_num": "1"
}
}
},
"httpContentType": "application/xml",
"expiryError": "Couldn't authenticate you",
"authError": [
"Couldn't authenticate you"
],
"timeOutError": "Read timed out",
"errorPath": "error",
"maxRefreshTryCount": 5,
"tokenResponsePath": "NETBOX._sessionid",
"tokenType": "Basic",
"accessToken": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
}
05/02/2024 09:01 PM
Your Server is not reachable from Saviynt
I/O error on POST request
05/22/2024 03:09 AM
05/22/2024 09:57 PM
Please share postman screenshot and curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
⚠️‼️‼️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.‼️‼️⚠️
05/23/2024 02:48 AM
Hi @rushikeshvartak , Here you go.