# Revoke Active Mastercard Encryption Credential Error
source: https://developer.mastercard.com/mastercard-developers-api/documentation/errors/revoke-active-key/index.md

Revoking active Mastercard encryption credential is not allowed.

### Solution {#solution}

Mastercard Encryption credentials and Client Signature Verification credentials cannot be deleted while they are in an active state. To revoke this credential, the user must first activate another credential of this type.

### API Error Response {#api-error-response}

**HTTP code 409**

```JSON

{
  "Errors": {
    "Error": [
      {
        "Source": "DEVELOPERS_API",
        "ReasonCode": "REVOKE_ACTIVE_MASTERCARD_ENCRYPTION_CREDENTIAL_ERROR",
        "Description": "Revoking active mastercard encryption credential is not allowed",
        "Details": "Revoking an active Mastercard Encryption credential is not allowed. Please add/activate a different Mastercard Encryption credential first.",
        "Recoverable": false
      }
    ]
  }
}
```

[Back to Errors List](https://developer.mastercard.com/mastercard-developers-api/documentation/code-and-formats/index.md#list-of-common-api-errors)​​
