Google Drive Authorization Returns Error 403 usageLimits on Android SDK<14 -
i'm using google drive api in android app:
private drive buildservice(final googlecredential credentials) { return new drive.builder(androidhttp.newcompatibletransport(), new gsonfactory(), credentials) .build(); } the credential obtained using accountmanager. works on android 4.0 , above. can get/insert/delete files etc. when running on android 4.0 below, returns:
"error": { "errors": [ { "domain": "usagelimits", "reason": "dailylimitexceededunreg", "message": "daily limit exceeded. please sign up", "extendedhelp": "https://code.google.com/apis/console" } ], "code": 403, "message": "daily limit exceeded. please sign up" } } is compatibility issue? i'm using lastest drive api , google api lib(1.14.1). thank you.
you should enable "google drive api" on api console's services tab: https://code.google.com/apis/console/
Comments
Post a Comment