PVWA - 'Item has already been added. Key in dictionary' error when viewing accounts feed or searching accounts

PVWA - 'Item has already been added. Key in dictionary' error when viewing accounts feed or searching accounts

163
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 15:54 PM


Symptom


When a user logs in to PVWA and goes to the Accounts page, this error occurs:
'Item has already been added. Key in dictionary: <key> Key being added: <key>'

This issue can also occur when searching accounts.



Environment


9.10;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0;14.6 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access

PVWA



Cause


There are two main causes for this.

 

  1. There is a duplicate property name in the policies.xml file which contains parameters for the platforms. This duplication could occur within the platform properties itself or higher up in the Device Type properties. (See https://community.cyberark.com/s/article/00002401)
  2. There are File Category duplications within accounts. Duplicate categories cannot be added through the PrivateArk Client so this can most likely occur if there is an automated account onboarding process using external tools


Resolution


Check for the value of <key> in each case:

 

  1. Download the policies.xml file from the PVWAConfig safe and check for duplicate properties. Remove any duplicates and upload the new file. Make sure to make a copy of the original file before making any changes.
  2. If it's possible to narrow down the error to specific accounts, check the properties of the suspect accounts for any duplicate File Categories and delete them.

 

If, as in the second case, this could have been caused by any automated account onboarding process,. make sure to review it.



Actions
  • Print
  • Copy Link

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