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

Update User attribute from SuccessFactor REST connection

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 21 2021 at 12:51 UTC

Hi Team,


We are using Saviynt V5.5 & are calling update user json in SuccessFactor REST connection.

The Update User task is getting generated, but not getting completed even after WSRETRY job.


Please find below update user json & guide if any changes required.


{
"call": [
{
"name": "call1",
"connection": "userAuth",
"url": "https://api2preview.sapsf.eu/odata/v2/User('90000068')",
"httpMethod": "POST",
"httpParams": "{\"firstName\": \"test1\"}",
"httpHeaders": {
"Accept": "application/json",
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200
]
}
}
]
}

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.
7 REPLIES 7

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 21 2021 at 21:20 UTC

Hello,

Any chance you can share with us the associated logs when performing the WSRetryJob ?

Thanks,

Adrien.

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 22 2021 at 05:08 UTC

Hi Adrien,


PFA logs . Getting NULL pointer exception.


Thanks,

Sitarasmi

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 25 2021 at 13:26 UTC

Hi Sitarasmi,

Is this operation working through an API runner such as Postman ?

Unfortunately the logs are not sufficient here. Any chance you could get full logs of the task being taken by WSRetryJob ?

Regards,

Adrien

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 27 2021 at 04:13 UTC

Hi Adrien,


I tried it with postman with this API https://api2preview.sapsf.eu/odata/v2/User('${user.employeeid}') and payload as

{

"__metadata": {

"uri": "User('50141')"

},

"username": "ncrane1"

}


Getting Error: "error": {

"code": "ServerErrorException",

"message": {

"lang": "en-US",

"value": "while trying to invoke the method javax.ws.rs.core.MediaType.getParameters() of a null object returned from javax.ws.rs.core.HttpHeaders.getMediaType()"

}

}

}


Is this script correct to update user attribute.

Please help

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 27 2021 at 13:09 UTC

Hi Adrien,


Below are the attached logs where we tried to update userid 50141 and getting same null point exception error.


Thanks

Alok

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on February 4 2021 at 05:20 UTC

Hi,


Kindly Confirm if the update user API is working as expected in the Postman.



Thank You

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on February 8 2021 at 14:55 UTC

Hi Team,


We are getting Permission Error via POSTMAN.


Please guide


Thanks,

Sitarasmi




This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.