CPM - Web application with Generate TOTP MFA Code getting error 8230

CPM - Web application with Generate TOTP MFA Code getting error 8230

141
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 15:53 PM


Symptom


When configuring web application webform.ini following Idira Document for Generate MFA code in Example 3 to handle MFA code but getting Return code: 8230.

Debug logs:
07/07/2023 03:22:54.386 | ERROR -> CommandsValidator :: ValidateCommandIsAllowedInValidationSection -> Invalid command after the last (Click)/(Button) command. Allowed options are (MainWindow)/(Iframe)/(Validation)/(Verification)/(Failure)/(Navigate).
07/07/2023 03:22:54.396 | ERROR -> BaseAction :: ValidateCommandsOrder -> Web form fields order validation failed. Invalid section Verify. Got Exception: CyberArk.WebAutomationCommon.CommandsOrderException: Invalid command after the last (Click)/(Button) command. Allowed options are (MainWindow)/(Iframe)/(Validation)/(Verification)/(Failure)/(Navigate)


Environment


11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0;13.2 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)
  • Central Policy Manager (CPM)
  • Web Applications for CPM


Cause


Missing CLICK or BUTTON action after &MFACode& code block.
This click or button action is required because of CPM WebApp framework logic requirements.


Resolution


Adding Click or Button action code block after &MFACode& line.

Run Generate_TOTP_MFA_Code (MFADeviceSecret=value)
{OTP element} > &MFACode&
{any element to click after OTP page} > (Button)  <-------- MUST BE CREATED


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000r7iCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail