and more in a single search tool across platforms. Read the announcement here. |
01/23/2024 12:44 AM
Hi Team,
Getting below error when passing FirstName and Email params in create account JSON.
JSON-
Error-
If I am passing hardcoded value for email then it is working as expected.
Please suggest.
Thanks,
Hare Murari
01/23/2024 08:13 PM
Share full json
change user.FirstName to {user?.firstname}
{user?.email}
01/23/2024 09:32 PM
Hi Rushikesh,
I have tried the json suggested by you above but still getting the same error-
Please find complete JSON below-
{
"accountIdPath": "call1.message.id",
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://domain/user/2/Ac6AzcKIGF7y/",
"httpMethod": "POST",
"httpParams": "{\"FirstName\": \"${user?.FirstName}\", \"Email\": \"${user?.email}\", \"Kind\": \"${requestAccessAttributes.get('Kind')}\"}",
"httpHeaders": {
"X-Access-Key-Id": "",
"X-Access-Key-Secret": "",
"Content-Type": "application/json"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200,
201
]
}
}
]
}
Thanks
01/23/2024 10:13 PM
{
"accountIdPath": "call1.message.id",
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://domain/user/2/Ac6AzcKIGF7y/",
"httpMethod": "POST",
"httpParams": "{\"FirstName\": \"${user?.firstname}\", \"Email\": \"${user?.email}\", \"Kind\": \"${requestAccessAttributes.get('Kind')}\"}",
"httpHeaders": {
"X-Access-Key-Id": "",
"X-Access-Key-Secret": "",
"Content-Type": "application/json"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200,
201
]
}
}
]
}
01/28/2024 07:35 PM
Hi Rushikesh,
I have tried the above JSON suggested by you but still no luck.
Thanks
Hare Murari
01/28/2024 08:51 PM
Share postman working screenshot and saviynt logs by enabling logs to validate parameters getting sent
02/01/2024 05:24 PM
Hi Rushikesh,
Please find the Postman screenshot and Saviynt logs below-
Thanks
Hare Murari
02/01/2024 08:42 PM
Does your email from saviynt ends with @maxis.com.my
02/01/2024 10:32 PM
Yes.
Thanks,
Murari
02/01/2024 10:35 PM
share logs in file
02/01/2024 11:01 PM
01/23/2024 08:23 PM
Can you try below :
For Firstname : {user?.firstname}
Email : {user?.email}
01/23/2024 09:33 PM
Hi Manu,
Hi Rushikesh,
I have tried the json suggested by you above but still getting the same error-
Thanks
01/24/2024 06:53 AM
Hi Murari,
We had the same issue for one of the application, Could you please check the email format required on application end(Restriction).. is it matching to what is been send from saviynt.
01/28/2024 07:34 PM
Hi NM,
I have checked it with app team there is no such restriction at their end. When we are passing the hardcoded value for same emailid it is working as expected.
Regards,
Hare Murari
02/02/2024 07:40 AM
Hi @Murari ,
Can you move your email to another attribute lets say cp1 and use ${user.customproperty1}. Just to eliminate whether its value issue or attribute issue.
Also if you could make showLogs=true in configJSON and share
{
"connectionTimeoutConfig": {
"connectionTimeout": 10,
"readTimeout": 60,
"writeTimeout": 60,
"retryWait": 2,
"retryCount": 3
},
"showLogs": true
}