Error when managing SAAS EPM Admin Account Passwords

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error when managing SAAS EPM Admin Account Passwords

L3 Networker

We installed the SAAS EPM Account management plugin to manage the EPM password. However when running the password change from CyberArk it's giving the below error. I've also attached the debug file. We are on PAS v10.10

 

EPM Plugin : https://community.cyberark.com/mplace/s/#a352J000000lCN9QAM-a392J000001eKh7QAE

 

CyberArkEPM.ini

 

[Change]

login_input_username > {Username}(SearchBy=id)

login_input_password > {Password}(SearchBy=id)

login_button_submit > (Button)(SearchBy=id)

(Wait=120)

user-text > (Button)(SearchBy=class)

/html/body/app-component/app-management-options/cyb-master-layout-home-container/div/div[2]/div/div/app-primary-tile-container/div/div/app-primary-tile[2]/div/div > (Button)(SearchBy=xpath)

/html/body/app-component/app-set-pane/cyb-master-layout-home-container/div/div[2]/div[1]/app-navigation/div[2]/div/p-panelmenu/div/div[13]/div/div[1]/a/span[1] > (Button)(SearchBy=xpath)

LicensePage > (Button)(SearchBy=id)

frameName > (iFrame) (SearchBy=name)

txtOldPassword > {password}(SearchBy=id)

txtNewPassword > {newpassword}(SearchBy=id)

txtConfirmNewPassword > {newpassword}(SearchBy=id)

btnChangePassword_PushButtonSurface > (Button)(SearchBy=id)

 

 

 

Error:

16/02/2022 10:04:19.383 | Info -> PlaceholdersManager :: Replace -> Replacing placeholders in section 'Change'.

16/02/2022 10:04:19.385 | Info -> PlaceholdersManager :: GetValueFromTargetAccount -> Using Username from Target account properties. [email protected].

16/02/2022 10:04:19.385 | Info -> PlaceholdersManager :: Replace -> Line 1: login_input_username > [email protected](SearchBy=id).

16/02/2022 10:04:19.385 | Info -> PlaceholdersManager :: Replace -> Line 2: login_input_password > ******(SearchBy=id).

16/02/2022 10:04:19.385 | Info -> PlaceholdersManager :: Replace -> Line 3: login_button_submit > (Button)(SearchBy=id).

16/02/2022 10:04:19.386 | Info -> PlaceholdersManager :: Replace -> Line 4: (Wait=5).

16/02/2022 10:04:19.386 | Info -> PlaceholdersManager :: Replace -> Line 5: user-text > (Button)(SearchBy=class).

.

.

.

.

.

.

16/02/2022 10:04:19.396 | Info -> WebFormFieldsParser :: ParseToCommands -> Successfully parsed line number 3.

17/02/2022 10:12:13.178 | ERROR -> WebFormFieldsParser :: CreateCommand -> Failed to match regex to command.

17/02/2022 10:12:13.179 | Info -> WebFormFieldsParser :: ParseToCommands -> Failed to match regex to command.

17/02/2022 10:12:13.184 | ERROR -> BaseAction :: ParseToCommandObjects -> Failed to parse web form field. Invalid line 4 in section Change. Got Exception: CyberArk.WebAutomationCommon.ParsingException: Failed to parse web forms fields. Line number 4 ---> CyberArk.WebAutomationCommon.ParsingException: Invalid command format

at CyberArk.WebAutomationCommon.WebFormFieldsParser.CreateCommand(String commandLine)

at CyberArk.WebAutomationCommon.WebFormFieldsParser.ParseToCommands(List`1 commandsLinesList)

--- End of inner exception stack trace ---

at CyberArk.WebAutomationCommon.WebFormFieldsParser.ParseToCommands(List`1 commandsLinesList)

at CyberArk.Extensions.Plugin.WebApp.BaseAction.ParseToCommandObjects(String section, List`1 commandLines, List`1& commands, String& errorMessage)

17/02/2022 10:12:13.184 | Info -> BaseAction :: ParseToCommandObjects -> END

17/02/2022 10:12:13.184 | Info -> BaseAction :: GetCommands -> END

17/02/2022 10:12:13.184 | Info -> ChangePassBase :: GetCommandsLists -> END

17/02/2022 10:12:13.184 | Info -> ChangePassBase :: RunAction -> END

17/02/2022 10:12:13.185 | Info -> BaseAction :: SetPlatformOutputMessage -> START

17/02/2022 10:12:13.185 | ERROR -> BaseAction :: SetPlatformOutputMessage -> Return code: 8223.

17/02/2022 10:12:13.185 | ERROR -> BaseAction :: SetPlatformOutputMessage -> Failure : Change process failed - Failed to parse section Change from line 4. Error: Failed to parse web forms fields. Line number 4.

 

Please let me know what we are missing here.

 

Thanks

Vivek

1 REPLY 1

L5 Sessionator

Hi @Vivek Rautela​ 

 

Thank you for raising this issue in our community!

 

Can you please let us know if you have been able to resolve this yet? 

 

In the meantime, looking at your provided errors, this type of error would usually mean incorrect/ invalid syntax listed for the "webformfield" (i.e., You should review both pvconfiguration.xml and policy.xml of this platform).

 

Note, as this mentioned plugin is not an out-of-the-box plugin, any further adjustments that might be needed would only be possible via a custom plugin request.

 

Thanks,

Gil

  • 350 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!