-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Youtube quota exceeded #34
Comments
Hi there Bertagit : ) I see you are experiencing a similar issue : Error importing video. Error calling GET https://www.googleapis.com/youtube/v3/videos?part=id%2Csnippet%2CcontentDetails%2Cplayer%2Cstatus%2CrecordingDetails&id=ACX993ZmEI0&maxResults=1&key=AIzaSyDI8ApsA7MBIK4M1Ubs9k4-Rk7_KOeYJ5w: (403) The request cannot be completed because you have exceeded your quota. What is the getting started quota? I was using YouTube Import Plugin v1.1.11 without any issues until recently. I configured the display options as suggested 640 X 360 / 100%, but still the same issue. I then updated to v1.3 but the error persists. I'm using the Omeka Thanks, Roy Theme. I have not installed any other new plugins. Any suggestions for how to fix? Please : ) |
Hi Bubbletalk, there is only one solution to solve the issue but you need to modify a configuration file of the plugin.
Now you need to have access at your omeka instalaltion. Go to the omeka_installation_dir/plugins/YouTubeImport/helpers ; The problem is the default key used by plugin, every google API service, like youtube, associate a key to a quota, if every one who have the plugin use the same key the quota is shared between every user, if you generate your key you have your own quota. |
Many Thanks Bertagit : ) This fix works perfectly!!!! Add Credentials to your project: YouTube Data API V3 Under where will you be calling the data from? I chose: Web Server, Under what data will you be accessing? I chose: Public Data Your Step by Step instructions are much appreciated : ) The YouTube Import Plugin is a fantastic plugin : ) Keeps my database lightweight and speeds up the process of inputting data for each field in the record : ) Hats off to you Bertagit for figuring it out : ) |
Hi Bertagit, |
I've followed the instructions to create and update the import.php file with my own API Key but still getting this error. Error importing video. Error calling GET https://www.googleapis.com/youtube/v3/videos?part=id%2Csnippet%2CcontentDetails%2Cplayer%2Cstatus%2CrecordingDetails&id=-hw4UOL7yNY&maxResults=1&key=[My API ky]: (403) The request cannot be completed because you have exceeded your quota. Are there any other updates I should make or can try to get this working? |
After some time we load youtube videos the plugin stop with an error, the youtube quota for the api key is exceeded, updating the key in the /helpers/import.php solve the error. I think theat the key must be a configuration parameter, like video dimensions, in omeka backend, this will avoid the error will appears by the user and every user will use his own api key
The text was updated successfully, but these errors were encountered: