Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup. When Using Drive API to host videos
Use embedded item instead
As mentioned here, you can embed your videos into your web page rather than get the file through the Google Drive API.
Bear in mind:
- Google Drive API is intended to develop applications that integrate with Google Drive.
- Google Drive API has a usage limit for billing and non-billing accounts.
Having that said I strongly recommend you to use <iframe>
, since you are using this file in a <video>
tag.
Google Drive API Error Daily Limit for Unauthenticated Use Exceeded
The problem was while getting access token. I was not providing correct scopes.
When i changed the scope to
https://spreadsheets.google.com/feeds https://docs.google.com/feeds
https://www.googleapis.com/auth/drive.file
it worked fine
Why I am receiving 'Daily Limit for Unauthenticated Use Exceeded' error when trying to call Google Drive Api from my Electron app?
Found the reason, I was missing a parameter in my api request, the 'oauth_token'. I was expecting this to work out of the box, since I've passed the oAuth2Client object (which had the token info) to the google.drive() function.
drive.files.list(
{
pageSize: 10,
fields: 'nextPageToken, files(id, name)',
oauth_token: oAuth2Client.credentials.access_token
},
(err, res) => {
}
);
Related Topics
Pass JavaScript Variable to PHP Via Ajax
How to Escape HTML Special Chars in JavaScript
Full-Screen Iframe With a Height of 100%
How to Correctly Iterate Through Getelementsbyclassname
Replacing CSS File on the Fly (And Apply the New Style to the Page)
How to Send a Json Object Using HTML Form Data
Losing Scope When Using Ng-Include
Best Practice: Access Form Elements by HTML Id or Name Attribute
Get the Position of a Div/Span Tag
Stop Form Refreshing Page on Submit
How to Add Onload Event to a Div Element
How to Communicate Between Iframe and the Parent Site
Page Content Is Loaded With JavaScript and Jsoup Doesn't See It
How to Get a Number of Random Elements from an Array