How to solve the failure of credential asset retrieval from the CyberArkCCP Credential Store?
Issue description
Sometimes, the following error may be encountered when attempting to retrieve credentials from the CyberArk CCP store - "Failed to read {Password} from Credential Store CyberArkCCP Error code: 2304......"
Robot (Orchestrator Job):
Studio:
Root Cause
This issue has primarily been observed when the incorrect Central Credential Provider web service name from CyberArkCCP was entered in the "Web Service Name" field in the Credential Store form in Orchestrator.
Troubleshooting/Resolution Steps
- When intending to use CyberArk CCP with Orchestrator, make sure to configure both apps as recommended in UiPath CyberArk Integration.
- Should the runtime error code 2304 come up in Studio whilst running a workflow using the "Get-Credential" activity, make sure to add the correct "Web Service Name" in the corresponding field of the Credential Store in Orchestrator. For more information, read: Managing CyberArk CCP. Even though that field is not marked as mandatory in Orchestrator, it must be filled in if the name of the Central Credential Provider web service. On leaving this field empty, the default name "AIMWebService" is used which, if incorrect, throws the error described above.
- If the issue persists, collect the following and share them with UiPath Support for further investigation:
- An error screenshot
- Studio logs and/or Robot execution logs
- Application event logs from the Studio/Bot and/or Orchestrator machine(s)