Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/12/2022 01:08 PM
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
]
}
}
]
}
Solved! Go to Solution.
04/12/2022 02:25 PM
Hello,
Any chance you can share with us the associated logs when performing the WSRetryJob ?
Thanks,
Adrien.
04/12/2022 02:25 PM
Hi Adrien,
PFA logs . Getting NULL pointer exception.
Thanks,
Sitarasmi
04/12/2022 02:25 PM
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
04/12/2022 02:25 PM
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
04/12/2022 02:25 PM
Hi Adrien,
Below are the attached logs where we tried to update userid 50141 and getting same null point exception error.
Thanks
Alok
04/12/2022 02:25 PM
Hi,
Kindly Confirm if the update user API is working as expected in the Postman.
Thank You
04/12/2022 02:25 PM
Hi Team,
We are getting Permission Error via POSTMAN.
Please guide
Thanks,
Sitarasmi