Title: API Key Issue
Last modified: September 6, 2016

---

# API Key Issue

 *  Resolved [wilhud](https://wordpress.org/support/users/wilhud/)
 * (@wilhud)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/api-key-issue-3/)
 * I was having issues with videos loading because my plugin was using the default
   API key that came with the plugin. I went ahead and registered my own API key,
   but when I applied it I kept receiving a 4xx error. After spending lots of time
   trying to figure out the issue, it seems to be that whenever I limited the API
   key to my domain, the error occurred. Once I removed the limit, the API key worked
   with YourChannel. Is there any way to make the plugin work with API Keys that
   are limited to a specific domain?
 * Thanks,
    Wil

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [wilhud](https://wordpress.org/support/users/wilhud/)
 * (@wilhud)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/api-key-issue-3/#post-8188958)
 * Hello,
 * That was how I had setup the API and the plugin would not pull the videos accordingly.
   It was not until I removed the restriction to allow any domains to access the
   videos that it started working as expected.
 * Thanks,
    Wil
 *  [metaglyphics](https://wordpress.org/support/users/metaglyphics/)
 * (@metaglyphics)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/api-key-issue-3/#post-8365105)
 * Following. Having the same issue.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘API Key Issue’ is closed to new replies.

 * ![](https://ps.w.org/yourchannel/assets/icon-256x256.png?rev=1106592)
 * [YourChannel: Everything you want in a YouTube plugin.](https://wordpress.org/plugins/yourchannel/)
 * [Support Threads](https://wordpress.org/support/plugin/yourchannel/)
 * [Active Topics](https://wordpress.org/support/plugin/yourchannel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yourchannel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yourchannel/reviews/)

## Tags

 * [api key](https://wordpress.org/support/topic-tag/api-key/)
 * [limit](https://wordpress.org/support/topic-tag/limit/)

 * 2 replies
 * 2 participants
 * Last reply from: [metaglyphics](https://wordpress.org/support/users/metaglyphics/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/api-key-issue-3/#post-8365105)
 * Status: resolved