Title: NEW API ISSUE
Last modified: December 26, 2019

---

# NEW API ISSUE

 *  Resolved [elr3000](https://wordpress.org/support/users/elr3000/)
 * (@elr3000)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/new-api-issue/)
 * Over the last couple of weeks we have encountered an issue with the number of
   API calls made by the plugin.
 * Yesterday during a scheduled event on our site the issue went to it’s extreme
   with this site reaching it’s limit of API calls in minutes, resulting in all 
   videos being taken off the site and displaying the plugins API error message.
 * We had to create new auth keys to deal with it while simultaneously troubleshooting
   the problem and testing out possible solutions.
 * It seemed that each visitor was resulting in about 30 API calls and at it’s peak
   it meant that after about 20 minutes the API reached it’s daily limit.
 * We have had past events with many many more visitors than yesterday and never
   had this issue before, as far as we know.
 * Obviously we are a little concerned and would like to better understand the situation
   so we’re better able to solve it the next time it happens. Can we please ask…
 * 1. Have there been any changes to the plugin that would result in a very large
   increase in the number of API calls?
 * 2. Would it be possible to provide the plugin with multiple API auth keys so 
   that it either it uses one until it no longer works, then can use the next one,
   or uses a random auth key. So that if we entered say 10 keys, that could mean
   that our potential limit could increase tenfold?
 * 3. Is it possible to edit the error message that is displayed when the limit 
   is reached so that the details of how to resolve it are not displayed to all 
   visitors? We consider this a security issue as it exposes the plugin details 
   to the world, which isn’t best practice in a security sense.
 * Thanks for your help.
    -  This topic was modified 6 years, 5 months ago by [elr3000](https://wordpress.org/support/users/elr3000/).

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

 *  [m365](https://wordpress.org/support/users/m365/)
 * (@m365)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/new-api-issue/#post-12278491)
 * same issue with me
 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/new-api-issue/#post-12293490)
 * **1. Have there been any changes to the plugin that would result in a very large
   increase in the number of API calls?**
    No; however YouTube/Google themselves
   have been rolling out drastically reduced default quotas across the board for
   all users (for example, there was a point that 1 million units was the standard–
   those days are unfortunately over). Any new keys these days only have a few thousand
   units in their quota these days, but we are working on a more quota-friendly 
   version of the plugin, particularly for live streams. Was your scheduled event
   a live stream?
 * **2. Would it be possible to provide the plugin with multiple API auth keys so
   that it either it uses one until it no longer works, then can use the next one,
   or uses a random auth key. So that if we entered say 10 keys, that could mean
   that our potential limit could increase tenfold?**
    That would take a significant
   code refactor, but much more importantly, there are some YouTube/Google TOS issues
   about using multiple keys per site particularly across multiple API projects (
   which is not allowed).
 * **3. Is it possible to edit the error message that is displayed when the limit
   is reached so that the details of how to resolve it are not displayed to all 
   visitors? We consider this a security issue as it exposes the plugin details 
   to the world, which isn’t best practice in a security sense.**
    We hear you; 
   although we believe you as an admin, should indeed be made aware of what error/
   solution is occurring with the API. A happy medium we would implement in the 
   future is to only display the message if logged in as an admin.
 *  [lechon](https://wordpress.org/support/users/lechon/)
 * (@lechon)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/new-api-issue/#post-12294276)
 * [@embedplus](https://wordpress.org/support/users/embedplus/)
 * On your YouTube API Key settings you said:
 * “Some features (such as galleries, and some wizard features) now require you 
   to create a free YouTube API Server key from Google.”
 * When you say “some wizard features”, can you please be more specific and list
   which features are using YouTube API Key?
 * Are there any other YouTube API Key being used that we are not aware of?
 * I am not using galleries, nor live streaming, nor I am using wizard features 
   either, Just making sure I am not using any YouTube API Key. Embedding is done
   manually via short code.
 * On the pro settings I am using “Featured Thumbnail Images”, not sure if this 
   is using YouTube API Key.
 * Regards,
 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/new-api-issue/#post-12298800)
 * [@lechon](https://wordpress.org/support/users/lechon/) Did you create an API 
   key? Finally, if you used a feature that required one and you didn’t create one,
   then you would know via an error. So it sounds like you aren’t using the key-
   dependent features.
 *  [lechon](https://wordpress.org/support/users/lechon/)
 * (@lechon)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/new-api-issue/#post-12299630)
 * Hi [@embedplus](https://wordpress.org/support/users/embedplus/)
 * I did not create an API key
 *  Thread Starter [elr3000](https://wordpress.org/support/users/elr3000/)
 * (@elr3000)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/new-api-issue/#post-12300441)
 * > 1. Have there been any changes to the plugin that would result in a very large
   > increase in the number of API calls?
   >  **No; however YouTube/Google themselves
   > have been rolling out drastically reduced default quotas across the board for
   > all users (for example, there was a point that 1 million units was the standard–
   > those days are unfortunately over). Any new keys these days only have a few
   > thousand units in their quota these days, but we are working on a more quota-
   > friendly version of the plugin, particularly for live streams. Was your scheduled
   > event a live stream?**
 * Thanks for your reply. Yes it was a live stream, but as the live stream wasn’t
   recurring it was embedded as a single video, not using the live stream option
   in the wizard.
 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/new-api-issue/#post-12308512)
 * The release we hope to push this weekend might help this issue.
 *  Thread Starter [elr3000](https://wordpress.org/support/users/elr3000/)
 * (@elr3000)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/new-api-issue/#post-12309403)
 * Excellent news. Thank you for the update. Keep up the great work!
 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/new-api-issue/#post-12338424)
 * With the recent release, you should now have an improved livestream (i.e. quota
   friendly) embedding experience and the ability to limit the error shown to visitors.
 *  Thread Starter [elr3000](https://wordpress.org/support/users/elr3000/)
 * (@elr3000)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/new-api-issue/#post-12338429)
 * [@embedplus](https://wordpress.org/support/users/embedplus/)
 * You sir are truly a legend.
    -  This reply was modified 6 years, 4 months ago by [elr3000](https://wordpress.org/support/users/elr3000/).
 *  Thread Starter [elr3000](https://wordpress.org/support/users/elr3000/)
 * (@elr3000)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/new-api-issue/#post-12339937)
 * I’ve looked through the settings and I can’t seem to find the option to limit
   the error shown to visitors.
 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/new-api-issue/#post-12340627)
 * Oh, there’s no actual option to look for. The full error is only shown to a logged
   in administrator.

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

The topic ‘NEW API ISSUE’ is closed to new replies.

 * ![](https://ps.w.org/youtube-embed-plus/assets/icon-256x256.png?rev=2165403)
 * [Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades](https://wordpress.org/plugins/youtube-embed-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-embed-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-embed-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-embed-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-embed-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-embed-plus/reviews/)

 * 12 replies
 * 4 participants
 * Last reply from: [embedplus](https://wordpress.org/support/users/embedplus/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/new-api-issue/#post-12340627)
 * Status: resolved