---
title: "YouTube error codes"
description: "Troubleshooting YouTube Data API video uploads, Shorts specs, privacyStatus validation, and Google OAuth quotas."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# YouTube error codes

YouTube publishing uploads videos and Shorts to authorized channels over the
YouTube Data API v3 (`videos.insert`). PubNio validates video readiness,
titles, and `privacyStatus` during preflight before starting resumable uploads.

## Common YouTube errors

| Code / Symptom                  | Retryable       | Cause                                                                                                 | How to fix                                                                                    |
| ------------------------------- | --------------- | ----------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| `media_required` / `media_type` | No              | YouTube target submitted without a ready video asset.                                                 | Import an MP4/MOV video via `POST /api/v1/media/import` and attach its `mediaId`.             |
| `settings_conflict`             | No              | Missing required video title or invalid `privacyStatus` (must be `public`, `unlisted`, or `private`). | Set a valid `title` and `privacyStatus` in target `settings`.                                 |
| `account_not_ready`             | After reconnect | Google OAuth refresh token was revoked or the channel has no YouTube brand/channel enabled.           | Reconnect Google in the workspace and verify a YouTube channel exists on that Google account. |
| YouTube `quotaExceeded` (`403`) | Later           | Daily YouTube Data API upload quota was exhausted.                                                    | Retry after the daily Pacific Time quota reset or spread uploads across a weekly queue.       |
| YouTube `uploadLimitExceeded`   | Later           | Channel hit YouTube's per-channel 24-hour upload count cap.                                           | Queue remaining uploads into later daily slots using PubNio weekly queues.                    |

## Related

- [YouTube Shorts & Video API guide](https://pubnio.com/docs/guides/youtube-shorts-api/)
- [YouTube Publishing API](https://pubnio.com/platforms/youtube)
- [All PubNio error codes](https://pubnio.com/docs/errors/)

Source: https://pubnio.com/docs/errors/youtube/index.mdx
