# Class Code (1.20.0)

1.20.0 (latest) 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.1 1.12.3 1.11.1 1.10.0 1.9.1 1.8.1 1.7.1 1.6.0 1.5.3 1.4.2 1.3.1 1.2.1 1.1.0 1.0.3 0.3.0 0.2.0 0.1.0

    Code(value)

Error codes for Check responses.

| ## Enums ||
|---|---|
| **Name** | **Description** |
| `ERROR_CODE_UNSPECIFIED` | This is never used in \`CheckResponse\`. |
| `NOT_FOUND` | 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\]\`. |
| `PERMISSION_DENIED` | The consumer doesn't have access to the specified resource. Same as \`google.rpc.Code.PERMISSION_DENIED\]\[google.rpc.Code.PERMISSION_DENIED\]\`. |
| `RESOURCE_EXHAUSTED` | Quota check failed. Same as \`google.rpc.Code.RESOURCE_EXHAUSTED\]\[google.rpc.Code.RESOURCE_EXHAUSTED\]\`. |
| `SERVICE_NOT_ACTIVATED` | The consumer hasn't activated the service. |
| `BILLING_DISABLED` | The consumer cannot access the service because billing is disabled. |
| `PROJECT_DELETED` | The consumer's project has been marked as deleted (soft deletion). |
| `PROJECT_INVALID` | The consumer's project number or id does not represent a valid project. |
| `CONSUMER_INVALID` | The input consumer info does not represent a valid consumer folder or organization. |
| `IP_ADDRESS_BLOCKED` | The IP address of the consumer is invalid for the specific consumer project. |
| `REFERER_BLOCKED` | The referer address of the consumer request is invalid for the specific consumer project. |
| `CLIENT_APP_BLOCKED` | The client application of the consumer request is invalid for the specific consumer project. |
| `API_TARGET_BLOCKED` | The API targeted by this request is invalid for the specified consumer project. |
| `API_KEY_INVALID` | The consumer's API key is invalid. |
| `API_KEY_EXPIRED` | The consumer's API Key has expired. |
| `API_KEY_NOT_FOUND` | The consumer's API Key was not found in config record. |
| `INVALID_CREDENTIAL` | The credential in the request can not be verified. |
| `NAMESPACE_LOOKUP_UNAVAILABLE` | The backend server for looking up project id/number is unavailable. |
| `SERVICE_STATUS_UNAVAILABLE` | The backend server for checking service status is unavailable. |
| `BILLING_STATUS_UNAVAILABLE` | The backend server for checking billing status is unavailable. |
| `CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE` | Cloud Resource Manager backend server is unavailable. |