Log return codes

The log codes and the descriptions help you understand the reason for the code and is useful during troubleshooting.
Return CodeDescription
0Error code for no logging
1The username could not be found in the policy
2The data element could not be found in the policy
3The user does not have the appropriate permissions to perform the requested operation
4Tweak is null
5Integrity check failed
6Data protect operation was successful
7Data protect operation failed
8Data unprotect operation was successful
9Data unprotect operation failed
10The user has appropriate permissions to perform the requested operation but no data has been protected/unprotected
11Data unprotect operation was successful with use of an inactive keyid
12Input is null or not within allowed limits
13Internal error occurring in a function call after the provider has been opened
14Failed to load data encryption key
15Tweak input is too long
16The user does not have the appropriate permissions to perform the unprotect operation
17Failed to initialize the PEP: this is a fatal error
19Unsupported tweak action for the specified fpe data element
20Failed to allocate memory
21Input or output buffer is too small
22Data is too short to be protected/unprotected
23Data is too long to be protected/unprotected
24The user does not have the appropriate permissions to perform the protect operation
25Username too long
26Unsupported algorithm or unsupported action for the specific data element
27Application has been authorized
28Application has not been authorized
29The user does not have the appropriate permissions to perform the reprotect operation
30Not used
31Policy not available
32Delete operation was successful
33Delete operation failed
34Create operation was successful
35Create operation failed
36Manage protection operation was successful
37Manage protection operation failed
38Not used
39Not used
40No valid license or current date is beyond the license expiration date
41The use of the protection method is restricted by license
42Invalid license or time is before license start
43Not used
44The content of the input data is not valid
45Not used
46Used for z/OS query default data element when policy name is not found
47Access key security groups not found
48Not used
49Unsupported input encoding for the specific data element
50Data reprotect operation was successful
51Failed to send logs, connection refused
52Return code used by bulkhandling in pepproviderauditor