BORHANUDDIN1 / google-apis-explorer

Automatically exported from code.google.com/p/google-apis-explorer
Apache License 2.0
0 stars 0 forks source link

Prediction API HelloWorld Example .. Quota Exceeded #375

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I'm using the prediction API, "hello world" following steps mentioned here.. 
https://cloud.google.com/prediction/docs/hello_world
2. In Prediction API v1.6 > prediction.trainedmodels.insert
Project: 472327146236
fields: id,storageDataLocation
Request Body: {
"id":""
"storageDataLocation":""
}

and OAuth 2.0 turned on.
The POST request was:
POST 
https://www.googleapis.com/prediction/v1.6/projects/472327146236/trainedmodels?f
ields=id%2CstorageDataLocation&key={YOUR_API_KEY}
{
 "id": "rajkiranlanguagepredictor",
 "storageDataLocation": "www.archishainnovators.com/CVoter/language_id.txt"
}
3. Output received:
403 OK

- Show headers -

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "quotaExceeded",
    "message": "There is insufficient quota or Prediction API is not enabled for the owner project."
   }
  ],
  "code": 403,
  "message": "There is insufficient quota or Prediction API is not enabled for the owner project."
 }
}

What is the expected output? What do you see instead?
A Success message (200) as described in the Prediction API hello world example.

What version of the product are you using? On what operating system?
Windows 10; Chrome Browser 

Please provide any additional information below.

Original issue reported on code.google.com by rajkiran...@gmail.com on 10 Aug 2015 at 7:39

Attachments: