Problem description
HTTP status code 409 that indicates that the key is in the PendingDeletion state is returned when a read, upload, or download request is sent to an Object Storage Service (OSS) bucket that performs server-side encryption based on the keys that are managed by Key Management Service (KMS).
Causes
The KMS-managed key that is specified in the request is in the PendingDeletion state.
Examples
When you upload an object to a bucket that uses server-side encryption, and specify a KMS-managed key for encryption and decryption, HTTP status code 409 is returned if the specified KMS-managed key is in the PendingDeletion state.
Solutions
Check the error details and resolve the issue. For more information, see Impact of CMK status on API operations.
If the error persists, contact KMS technical support.