All Products
Search
Document Center

Key Management Service:Error2String

Last Updated:Nov 11, 2024

This topic explains the use of Error2String for interpreting hexadecimal error codes in HSM.

Feature description

Error2String interprets hexadecimal error codes that result from command execution, aiding in the diagnosis of command and script faults.

Important

Ensure you have initiated the key_mgmt_tool and logged on to HSM with CU identity before executing this command.

Syntax

Enter parameters as per the following syntax. For details on parameters, refer to parameters.

Error2String -r <response-code>
Important

Parameters must be entered in the sequence outlined in the syntax.

Example

The example below demonstrates how to interpret the error code 0xdb, which indicates a login failure due to an invalid user type.

Command:  Error2String -r 0xdb

       	Error Code db maps to HSM Error: Invalid User Type.

Parameters

Parameter name

Description

Required

Valid values

-r

Specifies the hexadecimal error code, 0x hexadecimal identifier.

Yes

No Special Requirements