Provider SDK applications failing after upgrade to 12.1

Provider SDK applications failing after upgrade to 12.1

162
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 15:55 PM


Symptom


After upgrading to 12.1, Provider applications using the SDK stop working. Depending on exactly what is being impacted, errors such as the following appear:

Failed to retrieve robot password from UiPath.Orchestrator.Extensions.SecureStores.CyberArk.CyberArkSecureStore storeCyberArk.AIM.NetPasswordSDK.Exceptions.PSDKException: PDKTU004E Failed to receive data (Reason=[Index was outside the bounds of the array.])
at PSDKPassword CyberArk.AIM.NetPasswordSDK.PasswordSDK.GetPassword(PSDKPasswordRequest passRequest)
at Task<string> UiPath.Orchestrator.Extensions.SecureStores.CyberArk.CyberArkSecureStore.GetValueAsync(string context, string key)
at async Task<string> UiPath.Orchestrator.Core.Services.CredentialStores.CredentialStoreRuntime.GetPasswordAsync(UiRobotCredential robotCredential, Func<ISecureStore, string> keyGenerator)

 

Message: APPPR013E Failed to decrypt message (Reason: Failed to unseal data, diagnostics: 7)


Environment


12.1 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM) Environment using provider SDK that has recently been upgraded to 12.1

Cause


The 12.1 provider is only compatible with 12.1 SDKs due to security updates made in 12.1

Resolution


If the SDK code is compiled with the application code, the application will need to be rebuilt with the new SDK code.

If the application only wraps the SDK code (using a ‘wrapper’ function), one can just replace the SDK files with the new ones, without the need to rebuild the applications again.
This can be done by replacing the 11.7 javapasswordsdk.jar or CLIpasswordsdk.exe file with the 12.1 version. The code will then need to be recompiled.



Actions
  • Print
  • Copy Link

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