After completing the authentication process in my Cordova app, I receive the access token successfully. However, when I attempt to retrieve the file list using a specific method, I encounter the following error message: 403 Forbidden.
"domain": "usageLimits",
"reason": "dailyLimitExceededUnreg",
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
"extendedHelp": "https://code.google.com/apis/console"
"code": 403,
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
Below is the code snippet:
var googleapi = {
authorize : function(options) {
var deferred = $.Deferred();
var authUrl = 'https://accounts.google.com/o/oauth2/auth?' + $.param({
client_id : options.client_id,
redirect_uri : options.redirect_uri,
response_type : 'code',
scope : options.scope
});
var authWindow = window.open(authUrl, '_blank',
'location=no,toolbar=no');
// Rest of the authorization logic goes here
return deferred.promise();
}
};
// Implementing the rest of the functionality
Upon running this code in my Cordova Android app, it displays "No files found" and the debugger indicates a 403 Forbidden error.