09/20/2023
03:58 AM
- last edited on
09/20/2023
04:14 AM
by
Sunil
09/20/2023 10:46 AM
@sumalatham , did you check in the logs what is the response of the api call? you can use
{
"showLogs": true
}
in config json to get the request and response details printed.
09/28/2023 12:44 AM
Thanks @nimitdave
I have configured showLogs=true in ConfigJson. We are seeing account updated successfully in API response but account details is not updated .
logs:
DEBUG rest.RestProvisioningService - Got Webservice API Response: [headers:[Date: Thu, 09 Feb 2023 12:29:12 GMT, Content-Type: application/json;charset=utf-8, Transfer-Encoding: chunked, Connection: keep-alive, Set-Cookie: INGRESSCOOKIE=1675945753.295.4583.447679; Path=/; Secure; HttpOnly, X-Frame-Options: SAMEORIGIN, Set-Cookie: access_token=******/; Secure, Set-Cookie: token_type=Bearer; Path=/; Secure, Set-Cookie: user_name=saviyntsupportagent3; Path=/; Secure, Strict-Transport-Security: max-age=15724800; includeSubDomains, X-Content-Type-Options: nosniff, X-XSS-Protection: 1; mode=block, Referrer-Policy: origin, Access-Control-Allow-Credentials: true, Access-Control-Allow-Origin: https://test.saviyntcloud.com, Expires: Sun, 7 May 1995 12:00:00 GMT, Cache-Control: no-store, no-cache, must-revalidate, Pragma: no-cache, Cache-Control: post-check=0, pre-check=0, Set-Cookie: JSESSIONID=47EFB99E147C320017F1C7CD83541D5C; Path=/ECM; Secure; HttpOnly, Set-Cookie: CCSRF-TOKEN=feb5281e-eead-4c39-a88f-215a871dd350; Version=1; Path=\";Path=/;HttpOnly;\"; Secure], responseText:{\"errorCode\":\"0\",\"message\":\"Account Updated Successfully\"}, cookies:[INGRESSCOOKIE=1675945753.295.4583.447679; Path=/; Secure; HttpOnly, access_token=******/; Secure, token_type=Bearer; Path=/; Secure, user_name=saviyntsupportagent3; Path=/; Secure, JSESSIONID=47EFB99E147C320017F1C7CD83541D5C; Path=/ECM; Secure; HttpOnly, CCSRF-TOKEN=feb5281e-eead-4c39-a88f-215a871dd350; Version=1; Path=\";Path=/;HttpOnly;\"; Secure], statusCode:200]\n","stream":"stdout","time":"2023-02-09T12:29:12.381041575Z"}"
"ecm-worker","2023-02-09T12:29:12.492+00:00","{"log":"2023-02-09 12:29:12,381 [quartzScheduler_Worker-10] ERROR rest.RestProvisioningService - Call response: {\"errorCode\":\"0\",\"message\":\"Account Updated Successfully\"}\n","stream":"stdout","time":"2023-02-09T12:29:12.381560502Z"}"
Please can you help me for this issue ?
Thanks
Sumalatha