# Service Control v1 API - Enum CheckError.Types.Code (2.5.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.5.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceControl.V1/latest/Google.Cloud.ServiceControl.V1.CheckError.Types.Code)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceControl.V1/2.4.0/Google.Cloud.ServiceControl.V1.CheckError.Types.Code)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceControl.V1/2.3.0/Google.Cloud.ServiceControl.V1.CheckError.Types.Code)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceControl.V1/2.2.0/Google.Cloud.ServiceControl.V1.CheckError.Types.Code)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceControl.V1/2.1.0/Google.Cloud.ServiceControl.V1.CheckError.Types.Code)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceControl.V1/2.0.0/Google.Cloud.ServiceControl.V1.CheckError.Types.Code)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceControl.V1/1.4.0/Google.Cloud.ServiceControl.V1.CheckError.Types.Code)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceControl.V1/1.3.0/Google.Cloud.ServiceControl.V1.CheckError.Types.Code)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceControl.V1/1.2.0/Google.Cloud.ServiceControl.V1.CheckError.Types.Code)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceControl.V1/1.1.0/Google.Cloud.ServiceControl.V1.CheckError.Types.Code)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceControl.V1/1.0.0/Google.Cloud.ServiceControl.V1.CheckError.Types.Code)

    public enum CheckError.Types.Code

Reference documentation and code samples for the Service Control v1 API enum CheckError.Types.Code.

Error codes for Check responses.

## Namespace

[Google.Cloud.ServiceControl.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceControl.V1/latest/Google.Cloud.ServiceControl.V1)

## Assembly

Google.Cloud.ServiceControl.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `ApiKeyExpired` | The consumer's API Key has expired. |
| `ApiKeyInvalid` | The consumer's API key is invalid. |
| `ApiKeyNotFound` | The consumer's API Key was not found in config record. |
| `ApiTargetBlocked` | The API targeted by this request is invalid for the specified consumer project. |
| `BillingDisabled` | The consumer cannot access the service because billing is disabled. |
| `BillingStatusUnavailable` | The backend server for checking billing status is unavailable. |
| `ClientAppBlocked` | The client application of the consumer request is invalid for the specific consumer project. |
| `CloudResourceManagerBackendUnavailable` | Cloud Resource Manager backend server is unavailable. |
| `ConsumerInvalid` | The input consumer info does not represent a valid consumer folder or organization. |
| `ErrorCodeUnspecified` | This is never used in `CheckResponse`. |
| `InvalidCredential` | The credential in the request can not be verified. |
| `IpAddressBlocked` | The IP address of the consumer is invalid for the specific consumer project. |
| `NamespaceLookupUnavailable` | The backend server for looking up project id/number is unavailable. |
| `NotFound` | The consumer's project id, network container, or resource container was not found. Same as \[google.rpc.Code.NOT_FOUND\]\[google.rpc.Code.NOT_FOUND\]. |
| `PermissionDenied` | The consumer doesn't have access to the specified resource. Same as \[google.rpc.Code.PERMISSION_DENIED\]\[google.rpc.Code.PERMISSION_DENIED\]. |
| `ProjectDeleted` | The consumer's project has been marked as deleted (soft deletion). |
| `ProjectInvalid` | The consumer's project number or id does not represent a valid project. |
| `RefererBlocked` | The referer address of the consumer request is invalid for the specific consumer project. |
| `ResourceExhausted` | Quota check failed. Same as \[google.rpc.Code.RESOURCE_EXHAUSTED\]\[google.rpc.Code.RESOURCE_EXHAUSTED\]. |
| `ServiceNotActivated` | The consumer hasn't activated the service. |
| `ServiceStatusUnavailable` | The backend server for checking service status is unavailable. |