Skip to main content

Securosys XKS proxy Log Error Codes

The table below shows the HTTP error code and Error Name returned by the Securosys XKS Proxy to signal various error conditions for different APIs. Column 3 indicates the scenario when the corresponding error is returned and column 4 lists the applicable XKS proxy APIs:

Error CodeError NameError ScenarioXKS Proxy APIs
400ValidationExceptionThe request was rejected because one or more input parameters are invalid.ALL except GetHealthStatus
400InvalidStateExceptionThe request was rejected because the specified external key or key store is disabled, deactivated, or blocked.ALL
400InvalidCiphertextExceptionThe request was rejected because the specified ciphertext, initialization vector, additional authenticated data, or authentication tag is corrupted, missing, or otherwise invalid.Decrypt
400InvalidKeyUsageExceptionThe request was rejected because the specified key does not support the requested operation.Decrypt, Encrypt
401AuthenticationFailedExceptionThe request was rejected due to an invalid AWS SigV4 signature.ALL
403AccessDeniedExceptionThe request was rejected because the operation is not authorized based on request metadata.ALL except GetHealthStatus
404KeyNotFoundExceptionThe request was rejected because the specified external key is not found.ALL except GetHealthStatus
404InvalidUriPathExceptionThe request was rejected because the specified URI path is not valid.ALL
429ThrottlingExceptionThe request was rejected because the request rate is too high. The proxy may send this either because it is unable to keep up or the caller exceeded its request quota.ALL
500InternalExceptionThis is a generic server error. For example, this exception is thrown due to failure of the backing key manager or failure of a dependency layer.ALL
501UnsupportedOperationExceptionThe request was rejected because the specified cryptographic operation is not implemented, or if a parameter value exceeded the maximum size currently supported by a specific implementation beyond the minimum size required by this API specification.ALL
503DependencyTimeoutExceptionThe XKS proxy timed out while trying to access a dependency layer to fulfill the request.ALL