# Invalid Credential Status
source: https://developer.mastercard.com/mastercard-developers-api/documentation/errors/invalid-credential-status/index.md

This error occurs when the status in your request is not set to 'ACTIVE'.

For example, the following request can trigger the 'INVALID_CREDENTIAL_STATUS' error:

```json
{
  "status": "INACTIVE"
}
```

### Solution {#solution}

When attempting to update the `status` of a service credential, ensure that the status field in your request is set to `ACTIVE`.

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

**HTTP code 400**

```JSON
{
    "Errors": {
        "Error": [
            {
                "Source": "DEVELOPERS_API",
                "ReasonCode": "INVALID_CREDENTIAL_STATUS",
                "Description": "Invalid credential status",
                "Recoverable": false,
                "Details": "Only active status supported"
            }
        ]
    }
}
```

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