YouTubeUpdated

YouTube API error codes and how to fix them

YouTube Data API errors return a Google error object: an HTTP status, a message and a reason such as quotaExceeded, uploadLimitExceeded or invalidTitle. Since 2 November 2026, uploads from unaudited API projects are no longer forced to private. Each case below has the fix. Siar, a unified social media API, keeps YouTube’s own code and message on the post and adds the fix below.

Status: YouTube: connect and upload now; public uploads not yet confirmed. Checked 12 November 2026. Approval record.

Jump to a code: privacyStatus private, 401 authError, 403 quotaExceeded, 400 uploadLimitExceeded, 403 forbidden (thumbnails), 401 youtubeSignupRequired, 400 invalidTitle, 400 invalidDescription, 409 videoAlreadyInPlaylist, 403 commentsDisabled, uploadStatus rejected.

Codes and messages are what YouTube returns. Where YouTube documents a code, this page follows its docs.

privacyStatus private · privacyStatus came back private although public was requested · the video was set to private

Until 2 November 2026, YouTube forced every upload from an API project that had not passed its audit to private. Google lifted that rule: such uploads are no longer restricted to private. If a new upload still comes back private, check the channel's default upload settings and set status.privacyStatus explicitly.

What Siar does with it: Siar sends the visibility you ask for. If YouTube returns private anyway, Siar adds a warning to the post instead of reporting it as public. YouTube: connect and upload now; public uploads not yet confirmed.

YouTube's message: privacyStatus came back private although public was requested.

Related: YouTube API audit: what changed on 2 November 2026

401 authError · Invalid Credentials · the token expired or access was revoked

The access token expired or the user revoked access in their Google account. Refresh the token with the refresh token; if that fails, have the user sign in with Google again.

What Siar does with it: Siar refreshes the token itself where YouTube allows it. If that fails, Siar marks the account as needing reconnection and keeps this error on the post. Later posts to the account stop with "Reconnect this account, then retry the post." until your customer reconnects through the same connect link.

YouTube's message: Invalid Credentials

403 quotaExceeded · …you have exceeded your quota · the project's daily quota is spent

The Google Cloud project behind the app has spent its daily YouTube Data API quota. Uploads draw on their own videos.insert allocation; most other calls share 10,000 units a day. Fix: wait for the daily reset, or apply for a quota extension for the project.

What Siar does with it: Siar waits until the quota resets at midnight Pacific time and then tries again on its own, up to three attempts in all. The post shows "The YouTube API quota for this project is used up for today. It resets at midnight Pacific time."

YouTube's message: The request cannot be completed because you have exceeded your quota.

Related: YouTube Data API quota, explained

400 uploadLimitExceeded · The user has exceeded the number of videos they may upload · the channel hit its daily upload limit

The channel hit its daily upload limit. Verify the channel by phone to raise the limit, or try again in 24 hours.

What Siar does with it: Siar treats it as temporary and tries again on its own, up to three attempts in all. It waits for YouTube's reset time when Siar can read one from the response, otherwise 30 seconds, then 60. These attempts don't use the post's manual retries. If the last attempt fails too, the error stays on the post.

YouTube's message: The user has exceeded the number of videos they may upload.

Related: YouTube Data API quota, explained

403 forbidden (thumbnails) · …doesn't have permissions to upload and set custom video thumbnails · custom thumbnails need a verified channel

Custom thumbnails need a verified channel. Verify the channel at youtube.com/verify. The video itself is still posted.

What Siar does with it: Siar keeps YouTube's code and message on the post, word for word, marks it "don't retry" or "unknown", and still publishes to the other networks in the post. Fix the cause, then call POST /post/{id}/retry: only the failed networks are sent again, and the retry doesn't count as another post.

YouTube's message: The authenticated user doesn't have permissions to upload and set custom video thumbnails.

401 youtubeSignupRequired · Unauthorized · the Google account has no YouTube channel

The Google account has no YouTube channel. Create a channel at youtube.com, then sign in again.

What Siar does with it: Siar refreshes the token itself where YouTube allows it. If that fails, Siar marks the account as needing reconnection and keeps this error on the post. Later posts to the account stop with "Reconnect this account, then retry the post." until your customer reconnects through the same connect link.

YouTube's message: Unauthorized

400 invalidTitle · …invalid or empty video title · the title is empty, too long or has < >

The title is empty, longer than 100 characters, or contains < or >. Use a title of 1 to 100 characters without angle brackets.

What Siar does with it: Siar checks this rule when you create the post. A request that breaks it gets a 400 with an issues entry pointing at the field, before YouTube sees it, so you fix it at create time, not when the post is due.

YouTube's message: The request metadata specifies an invalid or empty video title.

400 invalidDescription · …invalid video description · the description is too long or has < >

The description is over 5,000 bytes or contains < or >. Shorten it and remove angle brackets.

What Siar does with it: Siar checks this rule when you create the post. A request that breaks it gets a 400 with an issues entry pointing at the field, before YouTube sees it, so you fix it at create time, not when the post is due.

YouTube's message: The request metadata specifies an invalid video description.

409 videoAlreadyInPlaylist · Video already in playlist · it's already there

The video is already in that playlist. Nothing to do, or remove it first.

What Siar does with it: Siar keeps YouTube's code and message on the post, word for word, marks it "don't retry" or "unknown", and still publishes to the other networks in the post. Fix the cause, then call POST /post/{id}/retry: only the failed networks are sent again, and the retry doesn't count as another post.

YouTube's message: Video already in playlist.

403 commentsDisabled · …has disabled comments · comments are off on this video

Comments are turned off on this video. Turn comments on in YouTube Studio.

What Siar does with it: Siar keeps YouTube's code and message on the post, word for word, marks it "don't retry" or "unknown", and still publishes to the other networks in the post. Fix the cause, then call POST /post/{id}/retry: only the failed networks are sent again, and the retry doesn't count as another post.

YouTube's message: The video identified by the videoId parameter has disabled comments.

uploadStatus rejected · rejectionReason: duplicate | copyright | claim | length | termsOfUse … · YouTube refused the video after processing

YouTube finished processing and refused the video. Read `status.rejectionReason`; fix the content and upload again.

What Siar does with it: Siar keeps YouTube's code and message on the post, word for word, marks it "don't retry" or "unknown", and still publishes to the other networks in the post. Fix the cause, then call POST /post/{id}/retry: only the failed networks are sent again, and the retry doesn't count as another post.

YouTube's message: rejectionReason: duplicate | copyright | claim | length | termsOfUse …

Where to see a YouTube error in Siar

Read a failed post with GET /post/{id}. The error field sums it up, errors lists the result per network, and errorsVerbose keeps YouTube's own code, message and HTTP status, a plain-English message, and a retry verdict: retryable, non_retryable or unknown. A signed post.published webhook fires when the post has published or failed, with each network's result. Fix the cause and retry with POST /post/{id}/retry.

Siar, a unified social media API, publishes to Facebook, Instagram, Threads, X, LinkedIn profiles, Bluesky, Mastodon, Discord and Slack today. See each network's status, or go back to Post to YouTube via API.

Error codes for other networks

The same pattern, for each network Siar is built for: social media API error codes, by network. For errors from Siar's own API (a 401 for a missing key, a 429 rate limit), see Siar API errors and status codes.

TikTok API error codes · Instagram API error codes · Facebook API error codes · X (Twitter) API error codes · Threads API error codes · LinkedIn API error codes · Pinterest API error codes · Reddit API error codes · Mastodon API error codes · Discord API error codes · Slack API error codes · Bluesky API error codes · Google Business Profile API error codes · Snapchat API error codes

Frequently asked questions

Are YouTube API uploads still forced to private?

No, not since 2 November 2026. Google's revision history says videos uploaded through videos.insert from unverified API projects are no longer restricted to private, and default to public when no privacy is set. Some uploads can still default to private because of the creator's own account settings.

Should I retry a failed YouTube API request?

Only if the error is temporary. Rate limits (429 and YouTube's own rate-limit codes) and 5xx errors can be retried after the reset time. Token, permission, duplicate and content errors fail the same way every time, so fix the cause first. Each entry on this page says which kind it is.

Why does the YouTube API reject a request that looks right?

Usually because of something outside the request body: an expired token, a permission the user didn't grant, the account's daily limit, or text the account posted recently. Read the code and message first, then match it to an entry on this page. Validating length and media before sending catches most of the rest.

Does Siar retry failed YouTube posts automatically?

For temporary errors, yes: Siar tries up to three times in all, waiting for the network's reset time when it can read one. Other errors stay on the post with YouTube's own code and message. Fix the cause and retry: only the failed networks are sent again, and the retry doesn't count as another post.

Will retrying a failed post publish it twice?

Not through Siar's retry. Each network in a post is claimed once, and only the networks that failed are sent again. An interrupted send is checked against the account before anything is re-sent. But calling the create endpoint again makes a new post: Siar has no client idempotency key, so check your own records first.

Your first post is one request away.

Start with 20 free posts to try. No card. A one-time allowance, with no time limit.