> ## Documentation Index
> Fetch the complete documentation index at: https://liv-creators.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Error connecting YouTube account in social connections

> Error screen when connecting to YouTube

**Problem**: You get an error page when you connect your YouTube.

"Failed to connect with YouTube: The connection did not receive the required permissions to manage your YouTube livestreams. Please try connecting again and make sure to allow all requested permissions."

<img src="https://mintcdn.com/liv-creators/DAvMDjPUkIxUMhOy/images/livhub/youtube_scope_error.png?fit=max&auto=format&n=DAvMDjPUkIxUMhOy&q=85&s=ea32731d80dd78a3ea11d527f086796e" alt="Youtube Scope Error" width="761" height="445" data-path="images/livhub/youtube_scope_error.png" />

**Cause**: You didn't give LIV Hub permission, you skipped the checkbox

**Solution**:

1. Connect again
2. **Ensure you've granted permission for LIV Hub to have access to your YouTube account when you connected.** If you didn't, you may have to disconnect and start again.  If needed, you can reset your LIV Hub and YouTube account link at [https://myaccount.google.com/connections](https://myaccount.google.com/connections)

<img src="https://mintcdn.com/liv-creators/DAvMDjPUkIxUMhOy/images/livhub/youtube_scope_warning.png?fit=max&auto=format&n=DAvMDjPUkIxUMhOy&q=85&s=1abe6584f4542aca3fa68e597bfb9f5e" alt="Youtube Scope Warning" width="865" height="538" data-path="images/livhub/youtube_scope_warning.png" />

## YouTube Streaming Error messages

### Permanent Errors

*These require the user to disconnect and reconnect their YouTube account.*

| Error State                     | What Causes It                                                                                                         | User Fix                                                                                                                                 |
| ------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| **Token expired or revoked**    | The YouTube OAuth token has expired or you revoked LIV's access from their Google account settings                     | Reconnect YouTube account in LIV settings                                                                                                |
| **Permissions denied**          | You declined one or more permission scopes during YouTube sign in                                                      | Disconnect and reconnect, accepting **all** requested permissions                                                                        |
| **Organization policy block**   | Your Google Workspace/org admin has restricted third-party app access. Can happen with School or Work Google accounts. | Use a different Google account that isn't blocking YouTube streaming.<br />Contact your Google Workspace administrator to whitelist LIV. |
| **Live streaming not enabled**  | YouTube account doesn't have live streaming activated                                                                  | Go to YouTube Studio and enable live streaming. YouTube makes newly enabled accounts wait 24 hours before streaming.                     |
| **Missing channel permissions** | Account lacks a YouTube channel, or the channel doesn't have live streaming rights                                     | Ensure you have a YouTube channel created and live streaming enabled                                                                     |
| **Server configuration error**  | LIV wasn't able to connect to YouTube                                                                                  | Please contact us at [https://liv.tv/discord](https://liv.tv/discord)                                                                    |

***

### Temporary Errors

*These are temporary. You should wait and retry, or reconnect if they persist.*

| Error State               | What Causes It                                                                                                  | User Fix                                                                                 |
| ------------------------- | --------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| **Rate limit**            | Too many requests sent to YouTube's API in a short window. LIV is working with YouTube to increase their quota. | Wait a few minutes and try again                                                         |
| **Network timeout**       | Connection to YouTube dropped mid-request                                                                       | Check internet connection, retry                                                         |
| **Internal server error** | YouTube's servers returned a 500-level error. YouTube might be offline.                                         | Wait and retry; check [YouTube Status](https://www.googlevideo.com/status) if persistent |

***

### Other Relevant Error States

*Not YouTube-specific but may surface in streaming flows.*

| Error State                          | What Causes It                                                | User Fix                           |
| ------------------------------------ | ------------------------------------------------------------- | ---------------------------------- |
| **RTMP URL not valid**               | Malformed stream URL entered manually                         | Double-check the stream URL format |
| **RTMPS not allowed**                | Secure RTMP was attempted but isn't supported in this context | Use a standard RTMP URL instead    |
| **Invalid streaming target details** | Streaming config is missing or malformed                      | Re-enter streaming settings        |
| **Streaming link not valid**         | The stream link provided failed validation                    | Verify the link and re-enter       |
| **Unauthorized**                     | Session expired or user doesn't have permission               | Log out and back in                |
