Issue
Getting "Action not Authorized error" when Cancelling the Change Request.
Cause
Action name(action_name) of the both OOTB "Cancel Change" UI action & Custom "Cancel ChangeX" Ui action are same.
Hence when custom UI action was clicked, sys_id of the OOTB Ui action is getting called and throwing an error.
Resolution
Changing action_name of the custom UI action fixed the issue. Ideally, there should be no UI Actions with the same name on the instance.
Related Links
Below errors can be found in node logs
13:42:33.660 Warning Default-thread-14 245820ACDB133740E539FEF868961954 txid=d17c6428db53 WARNING *** WARNING *** Missing action script: cancelled
13:42:33.661 Warning Default-thread-14 245820ACDB133740E539FEF868961954 txid=d17c6428db53 WARNING *** WARNING *** Attempt made to execute invalid action 94dac378db31e300fc8e7f8cbf961908 by user SKB6851
13:42:33.661 Warning Default-thread-14 245820ACDB133740E539FEF868961954 txid=d17c6428db53 WARNING *** WARNING *** Ignoring