Troubleshooting: YSC91A_0006 error code sometimes displays an inadequate description of the problem

The error message for YSC91A_0006 does not always describe the problem correctly.

Problem

If a Change Project does not have any approvers and a user attempts to close all of its associated change requests, manageChangeProject will throw a YSC91A_0006 error code with the message "Ensure that a valid user performs this operation on the Change Project or Change Request". However, the error message does not always describe the problem correctly.

Solution

If a YSC91A_0006 error is thrown when a Change Project does not have any approvers and a user attempts to close all of its associate change requests, the problem is that nobody is available to approve the Change Project and, therefore, it cannot move into "waiting for approval" status. Add an approver to the Change Project, and then try and close the change requests again.