# YouTube embeds failing

> Why YouTube search and embedding answer HTTP 403 in N1ED, and how to create your own YouTube Data API key to fix it.

Source: https://n1ed.com/qa/youtube-api-key  
Updated: 2026-09-20  
Every page of n1ed.com has a Markdown copy at its URL + `.md` (`index.md` after a URL that ends in `/`); all of them are in one file: https://n1ed.com/llms-full.txt

**Gerardo Z.** asked on 2022-07-26:

I unable to add videos because of a 403 error. The error I can see in the network tab of the browser is:

```json
{
  "error": {
    "code": 403,
    "message": "The request cannot be completed because you have exceeded your \u003ca href=\\"/youtube/v3/getting-started#quota\\"\u003equota\u003c/a\u003e.",
    "errors": [
      {
        "message": "The request cannot be completed because you have exceeded your \u003ca href=\\"/youtube/v3/getting-started#quota\\"\u003equota\u003c/a\u003e.",
        "domain": "youtube.quota",
        "reason": "quotaExceeded"
      }
    ]
  }
}
```

**Olga Tarkova** answered on 2022-07-26:

You have used a shared key intended for demonstration purposes. To search for and embed YouTube videos, you need to obtain your personal API key. We provide step-by-step instructions on how to create a free API key. Please follow this [guide](https://n1ed.com/docs/configuration/youtube).

*Solved*
