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

using SavforSavREST connector to update user attributes in custom properties

asharma
Regular Contributor II
Regular Contributor II

Hi Team,

I am trying to store some of the attribute values in custom properties using SavforSavrest connector by updateuserjson. Please find my json as below:

{
"actions": {
"Update User": {
"call": [{
"name": "call1",
"connection": "userAuth",
"url": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"httpMethod": "POST",
"httpParams": "{\"customproperty50\":\"${user.email}\",\"customproperty51\":\"${user.manager}\",\"customproperty52\":\"${user.email}\",\"customproperty53\":\"${user.costcenter}\",\"customproperty54\":\"${user.jobcode}\",\"customproperty55\":\"${user.location}\"}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": [{
"message": "User Updated Successfully"
}]
}]
}
}
}

However, when i am running below job after successful conection it is throwing me error "No content to map due to end-of-input at [Source: (String)""; line: 1, column: 0]"

Job - User Import via a Connection (UserImportJob)

Who Me Too'd this topic