Title: Error type: &quot;Bad Request&quot;.
Last modified: August 30, 2016

---

# Error type: "Bad Request".

 *  Resolved [motionmanager](https://wordpress.org/support/users/motionmanager/)
 * (@motionmanager)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/error-type-bad-request/)
 * I use following shortcode:
 * [Youtube_Channel_Gallery user=”NsNybXKvJcaOQx9ik9jvMw” key=”youtubegallery-1101″
   maxitems=”16″ thumb_columns_tablets=”4″ title=”1″]
 * What could be wrong?
 * I get following error message:
 * Error type: “Bad Request”. Error message: “Bad Request” Domain: “usageLimits”.
   Reason: “keyInvalid”.
 * Did you added your own Google API key? Look at the help.
 * Check in YouTube if the id NsNybXKvJcaOQx9ik9jvMw belongs to a username. Check
   the FAQ of the plugin or send error messages to support.
 * Here the link to my site:
 * [http://mountainmediacenter.com/de/api-2/](http://mountainmediacenter.com/de/api-2/)
 * [https://wordpress.org/plugins/youtube-channel-gallery/](https://wordpress.org/plugins/youtube-channel-gallery/)

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

 *  Thread Starter [motionmanager](https://wordpress.org/support/users/motionmanager/)
 * (@motionmanager)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/error-type-bad-request/#post-6660559)
 * also this code doesn´t work:
 * [Youtube_Channel_Gallery identify_by=”UCNsNybXKvJcaOQx9ik9jvMw” user=”NsNybXKvJcaOQx9ik9jvMw”
   key=”youtubegallery-1101″ maxitems=”9″ thumb_columns_tablets=”4″ title=”1″]
 * the error message is:
    Error type: “Bad Request”. Error message: “Bad Request”
   Domain: “usageLimits”. Reason: “keyInvalid”.
 * Did you added your own Google API key? Look at the help.
 * Check in YouTube if the id NsNybXKvJcaOQx9ik9jvMw belongs to a UCNsNybXKvJcaOQx9ik9jvMw.
   Check the FAQ of the plugin or send error messages to support.
 *  Thread Starter [motionmanager](https://wordpress.org/support/users/motionmanager/)
 * (@motionmanager)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/error-type-bad-request/#post-6660567)
 * just found out that my api key wasn´t right – i just changed it now so my code
   looks like:
 *  [Youtube_Channel_Gallery identify_by=”UCNsNybXKvJcaOQx9ik9jvMw” user=”NsNybXKvJcaOQx9ik9jvMw”
   key=”AIzaSyAJfz0ZtDXQ2Pnj-di7y3Wb4xSX8a-L2fw” maxitems=”9″ thumb_columns_tablets
   =”4″ title=”1″]

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

The topic ‘Error type: "Bad Request".’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/youtube-channel-gallery_f11a1f.svg)
 * [Youtube Channel Gallery](https://wordpress.org/plugins/youtube-channel-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-channel-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-channel-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-channel-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-channel-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-channel-gallery/reviews/)

## Tags

 * [bad request](https://wordpress.org/support/topic-tag/bad-request/)

 * 2 replies
 * 1 participant
 * Last reply from: [motionmanager](https://wordpress.org/support/users/motionmanager/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/error-type-bad-request/#post-6660567)
 * Status: resolved