Luca
Luca

Reputation: 984

Get file information through api

I'm not able to get information about a file.

Here it is my situation:

But I get the following error:

{
 "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"
 }
}

How can I sort it out?

Upvotes: 0

Views: 2697

Answers (1)

Claudio Cherubino
Claudio Cherubino

Reputation: 15004

You can't retrieve the file metadata by typing the url in your browser.

Instead you need to send an authorized request with a valid OAuth 2.0 token. For more information:

https://developers.google.com/drive/about_auth

Upvotes: 1

Related Questions