Title: api not working
Last modified: March 3, 2018

---

# api not working

 *  Resolved [ronwisely](https://wordpress.org/support/users/ronwisely/)
 * (@ronwisely)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/api-not-working-4/)
 * respected sir ,
    i think so their is an issue with plugin , earlier it was working
   fine but now [http://prntscr.com/ima0f7](http://prntscr.com/ima0f7) its not accepting
   the youtube API . when i tested it with new api i am getting the same error .
   their is another issue in console to [http://prntscr.com/ima1j8](http://prntscr.com/ima1j8)
   but the video are loading . even i tried adding this to my .htacess file but 
   still its not working Header set Access-Control-Allow-Origin “[https://accounts.google.com&#8221](https://accounts.google.com&#8221);
   Header set Access-Control-Allow-Origin “[https://www.youtube.com&#8221](https://www.youtube.com&#8221);
 * regards,
    rahul

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/api-not-working-4/#post-10035496)
 * No idea I’m afraid [@ronwisely](https://wordpress.org/support/users/ronwisely/),
   the YouTube API is a black box for me as well I’m afraid .. :-/
 *  Thread Starter [ronwisely](https://wordpress.org/support/users/ronwisely/)
 * (@ronwisely)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/api-not-working-4/#post-10036216)
 * respected sir ,
    can you ask futttu sir he might be knowing the solution. This
   problem is only happening with me or with everyone because u have added xss protection
   header.But that api should work at-least on test . i am waiting eagerly for update
   on this plugin .
 * regards,
    rahul
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/api-not-working-4/#post-10047877)
 * Lyte does not add any headers [@ronwisely](https://wordpress.org/support/users/ronwisely/),
   but I did have to go into Google developers console myself to change credentials
   settings to get my own key to work again ..
 * (optimizing matters == frank goossens == futtta 🙂 )
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/api-not-working-4/#post-10050281)
 * fyi; I updated the YT API instructions in [the Lyte FAQ](https://wordpress.org/plugins/wp-youtube-lyte/faq/),
   maybe that helps?
 *  Thread Starter [ronwisely](https://wordpress.org/support/users/ronwisely/)
 * (@ronwisely)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/api-not-working-4/#post-10050395)
 * respected sir ,
    contineously i am getting 2 kind of error i tried updating the
   api again . video is loading properly with some error in chrome console
 * 1. ERROR – API key not OK, your key seems to have expired, please check in the
   Google Developer Console.
    2. ERROR – Something went wrong, WP YouTube Lyte might
   not have been able to retrieve information from the YouTube API, got error: 1
 * Last time it was working properly . could you please tell me how i can get rid
   of these error
    regards, rahul
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/api-not-working-4/#post-10051803)
 * You probably will have to re-login into Google Developer console and create a
   new key Rahul.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years ago](https://wordpress.org/support/topic/api-not-working-4/#post-10237764)
 * the “Something went wrong, WP YouTube Lyte might not have been able to retrieve
   information from the YouTube API, got error: 1”-error was fixed with release 
   1.7.1 [@ronwisely](https://wordpress.org/support/users/ronwisely/)
 *  Thread Starter [ronwisely](https://wordpress.org/support/users/ronwisely/)
 * (@ronwisely)
 * [8 years ago](https://wordpress.org/support/topic/api-not-working-4/#post-10238114)
 * respected sir ,
    thank you very much [@futtta](https://wordpress.org/support/users/futtta/)
   sir for make such a lovely update now again your plugin started working fine .
   regards, rahul
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years ago](https://wordpress.org/support/topic/api-not-working-4/#post-10238272)
 * happy it works Rahul, feel free to [leave a review of the plugin (and support) here](https://wordpress.org/support/plugin/wp-youtube-lyte/reviews/#new-post)!
   😉

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

The topic ‘api not working’ is closed to new replies.

 * ![](https://ps.w.org/wp-youtube-lyte/assets/icon-128x128.png?rev=1836005)
 * [WP YouTube Lyte](https://wordpress.org/plugins/wp-youtube-lyte/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-youtube-lyte/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-youtube-lyte/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-youtube-lyte/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-youtube-lyte/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-youtube-lyte/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/api-not-working-4/#post-10238272)
 * Status: resolved