IBM Support

Rest API to assign a password policy to a user account and change the password at the same time fails

Troubleshooting


Problem

When trying to assign a password policy to a user account and change the password at the same time,
the rest API call fails with the error:
{'errorCode': 400, 'errorDescription': 'API000615: The PwdHistory was not updated successfully for testUser'}

Symptom

The Rest API call returns the error:
{'errorCode': 400, 'errorDescription': 'API000615: The PwdHistory was not updated successfully for testUser'}
The system log shows:
[2021-07-09 14:45:20.58] ERRORDTL [1625834720579]java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (SFG.SCI_PK_167) violated
Caused by: Error : 1, Position : 0, Sql = INSERT INTO PWD_HISTORY ( USER_ID, OLD_PASSWORD, OLD_SALT, PWD_MOD_DATE ) VALUES(:1 , :2 , :3 , :4 ), OriginalSql = INSERT INTO PWD_HISTORY ( USER_ID, OLD_PASSWORD, OLD_ SALT, PWD_MOD_DATE ) VALUES(?, ?, ?, ?), Error Msg = ORA-00001: unique constraint (SFG.SCI_PK_167) violated

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"ARM Category":[{"code":"a8m50000000CjzWAAS","label":"REST API-\u003EB2B REST API"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
28 September 2021

UID

ibm16493305