DataLinkError

  • The document outlines various errors that can occur with DataLinks, categorized by specific issues.

  • Errors include unspecified or unknown issues, as well as specific problems with YouTube Channel and Video IDs.

  • Permission denied and invalid status or resource name are also potential errors when managing DataLinks.

Enum describing possible DataLink errors.

Proto definition

Enums

INVALID_RESOURCE_NAME

The input resource name is invalid.

INVALID_STATUS

A link can not be removed or updated because the status is invalid.

INVALID_UPDATE_STATUS

The input status in the update request is invalid.

PERMISSION_DENIED

A link cannot be created because the customer doesn't have the permission.

UNKNOWN

The received error code is not known in this version.

UNSPECIFIED

Enum unspecified.

YOUTUBE_CHANNEL_ID_INVALID

The requested YouTube Channel ID is invalid.

YOUTUBE_VIDEO_FROM_DIFFERENT_CHANNEL

The requested YouTube Video ID doesn't belong to the requested YouTube Channel ID.

YOUTUBE_VIDEO_ID_INVALID

The requested YouTube Video ID is invalid.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-12 UTC.