Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud Vision API not enabled #1086

Closed
gaglileo opened this issue Mar 19, 2020 · 2 comments
Closed

Cloud Vision API not enabled #1086

gaglileo opened this issue Mar 19, 2020 · 2 comments

Comments

@gaglileo
Copy link

Step 1: Describe your environment

  • Android device: OUKITEL C8
  • Android OS version: 7.0
  • Google Play Services version: 4.3.3
  • Firebase SDK version: 24.0.1

Step 2: Describe the problem:

Steps to reproduce:

  1. Directly from sample app here, without change anything, open Kotlin/Java demo
  2. Open StillImageActivity
  3. Select Landmark and take a picture of a face

Observed Results:

Nothing happened and log registered this issue:

403 Forbidden
{
  "code": 403,
  "errors": [
    {
      "domain": "usageLimits",
      "message": "Cloud Vision API has not been used in project 911493030598 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/vision.googleapis.com/overview?project=911493030598 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
      "reason": "accessNotConfigured",
      "extendedHelp": "https://console.developers.google.com"
    }
  ],
  "message": "Cloud Vision API has not been used in project 911493030598 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/vision.googleapis.com/overview?project=911493030598 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
  "status": "PERMISSION_DENIED"
}

Expected Results:

Infos about Landmarks

@gaglileo
Copy link
Author

I forgot to download a google-services.json file with enabled api's

@mohity777
Copy link

Hey can u tell how did u resolve the issue? what needs to be enabled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants