# Google Apps Events Subscriptions V1beta Client - Class ErrorType (0.4.4)

0.4.4 (latest) 0.4.3 0.3.1 0.2.1 0.1.6

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Apps Events Subscriptions V1beta Client class ErrorType.

Possible errors for a subscription.

Protobuf type `google.apps.events.subscriptions.v1beta.Subscription.ErrorType`

## Namespace

Google \\ Apps \\ Events \\ Subscriptions \\ V1beta \\ Subscription

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### ERROR_TYPE_UNSPECIFIED

    Value: 0

Default value. This value is unused.

Generated from protobuf enum `ERROR_TYPE_UNSPECIFIED = 0;`

### USER_SCOPE_REVOKED

    Value: 1

The authorizing user has revoked the grant of one or more OAuth scopes.

To learn more about authorization for Google Workspace, see [Configure
the OAuth consent
screen](https://developers.google.com/workspace/guides/configure-oauth-consent#choose-scopes).

Generated from protobuf enum `USER_SCOPE_REVOKED = 1;`

### RESOURCE_DELETED

    Value: 2

The target resource for the subscription no longer exists.

Generated from protobuf enum `RESOURCE_DELETED = 2;`

### USER_AUTHORIZATION_FAILURE

    Value: 3

The user that authorized the creation of the subscription no longer has
access to the subscription's target resource.

Generated from protobuf enum `USER_AUTHORIZATION_FAILURE = 3;`

### ENDPOINT_PERMISSION_DENIED

    Value: 4

The Google Workspace application doesn't have access to deliver
events to your subscription's notification endpoint.

Generated from protobuf enum `ENDPOINT_PERMISSION_DENIED = 4;`

### ENDPOINT_NOT_FOUND

    Value: 6

The subscription's notification endpoint doesn't exist, or the endpoint
can't be found in the Google Cloud project where you created the
subscription.

Generated from protobuf enum `ENDPOINT_NOT_FOUND = 6;`

### ENDPOINT_RESOURCE_EXHAUSTED

    Value: 7

The subscription's notification endpoint failed to receive events due to
insufficient quota or reaching rate limiting.

Generated from protobuf enum `ENDPOINT_RESOURCE_EXHAUSTED = 7;`

### OTHER

    Value: 5

An unidentified error has occurred.

Generated from protobuf enum `OTHER = 5;`