pCloud - Get Platforms API returns CAWS00001E The given key was not present in the dictionary

pCloud - Get Platforms API returns CAWS00001E The given key was not present in the dictionary

124
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 12:57 PM


Symptom


Get Platforms API (https://docs.cyberark.com/Product-Doc/OnlineHelp/PrivCloud/Latest/en/Content/SDK/rest-api-get-platforms.htm) returns CAWS00001E The given key was not present in the dictionary
 


Environment


12.0;12.1;12.2;12.4;12.3;12.5;12.6 Privilege Cloud Privilege Cloud Web Portal

Cause


When a platform exists only in Policies.xml file but missing from the Vault Database table vault_platforms, the old GetPlatforms REST returns a general error:

ErrorCode: CAWS00001E,
ErrorMessage: The given key was not present in the dictionary


Resolution


Self-hosted
Edit the Policies.xml file on the customer's vault via PA to remove platforms that don't have respective ini files in the PasswordManagerShared safe.

 

Privilege Cloud
This may occur due to an incomplete import platform.
1. Browse to the PVWA from your connector\CPM server.
2. Go to Administrations --> Platform Management
3. Click on the "Import Platform" button in the upper-right corner.
4. Import the platforms (zip files) from C:\Program Files (x86)\CyberArk\Password Manager\ExtensionsInstallationPlatforms.

 

If the error still occurs, compare the Platforms in Vault Database and Policies.xml.  See attached Powershell script to retrieve IDs from each <Policy> node in Policies.xml.

 

Notes

  • The ExtensionsInstallationPlatforms folder should contain (11) zip packages (if there are missing packages, please reach out to CyberArk to obtain the missing packages - CyberArk representatives, please see the Internal Instructions for this KB)
    • image.png
  • If a platform already exists, the GUI import will present an error
    • image.png

 



Actions
  • Print
  • Copy Link

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