Credential Provider on Linux – CP SDK Error PDKTC511E Failed to prepare data

Credential Provider on Linux – CP SDK Error PDKTC511E Failed to prepare data

191
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:06 PM


Symptom


When attempting to fetch a secret using the Credential Provider (CP) SDK on Linux, the following error may appear:
PDKTC511E Failed to prepare data


Environment


11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;11.9;11.8;12.4;12.6;13.0;14.0;14.2 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Credential Provider
Credential Provider - Linux


Cause


This error indicates that the Credential Provider SDK request cannot access the Credential Provider temporary directory. By default, this directory is:

/tmp/CP_TEMP_FOLDER

If the directory does not exist or cannot be accessed by the calling process, the SDK cannot continue and produces the error.



Resolution


Ensure that the Credential Provider temporary directory exists, that it has the correct permissions and there isn't security system policies blocking the access.
 
- Directory permissions:
711 (-rwx--x--x)
 
- Files inside the directory:
644 (-rw-r--r--)


Actions
  • Print
  • Copy Link

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