Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/30/2024 02:36 AM - last edited on 04/30/2024 04:02 AM by Sunil
I am trying to import user by configuring the below import user json-
{
"connection": "userAuth",
"showResponse": true,
"successResponses": {
"statusCode": [
200,
201,
202,
203,
204,
205
]
},
"url": "https://....../person?lastname=${user.lastname}&firstname=${users.firstname}&birthdate=1999-10-20&email=${users.email}",
"httpMethod": "GET",
"httpContentType": "application/json",
"httpHeaders": {
"Content-Type": "application/json",
"Authorization": "${refresh_token}"
},
"userResponsePath": "Persons",
"colsToPropsMap": {
"customproperty2": "id~#~char",
"firstname": "firstname~#~char",
"lastname": "lastname~#~char",
"email": "email~#~char",
"customproperty21": "birthdate~#~date"
}
}
But I am getting below error
Got Webservice API Response: [error:Error Illegal character in query at index 70: https:// .../person?lastname=${user.lastname}&firstname=${user.firstname}&birthdate=1999-10-20&email=${user.email}]
[This message has been edited by moderator to disable url hyperlink]
04/30/2024 03:20 AM
@Smitakkhi can you modify the url please and change below
user.firstname and user.email instead of users. and try
"url": "https://....../person?lastname=${user.lastname}&firstname=${users.firstname}&birthdate=1999-10-20&email=${users.email}",
04/30/2024 04:17 AM
I have tried with user and users both . It is not working .
04/30/2024 09:15 PM
05/06/2024 01:51 AM
I have tried using url as "url": "https://....../person?lastname=${user.lastname}&firstname=\\${users.firstname}&birthdate=1999-10-20&email=\\${users.email}", but still it is not accepting.
05/06/2024 07:03 PM
Please share logs in txt file
05/08/2024 02:20 AM - last edited on 05/08/2024 02:30 AM by Sunil
Hi,
I have pasted some part of the logs -