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

Error: 403 Forbidden #6

Open
jalemanyf opened this issue Sep 18, 2020 · 1 comment
Open

Error: 403 Forbidden #6

jalemanyf opened this issue Sep 18, 2020 · 1 comment

Comments

@jalemanyf
Copy link

I have added the Api Key following the instuctions.

When I plays it on the Unity Editor, the webcam runs, I can see myself on the plane but alwais obteains the error 403 on the console.

I suppose the web service has changed and need something new...?

Thanks in advace.

Error: 403 Forbidden
UnityEngine.Debug:Log(Object)
d__32:MoveNext() (at Assets/WebCamTextureToCloudVision.cs:279)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

@superemolee
Copy link

superemolee commented Apr 11, 2024

For my case, it was billing method missing.
Unity has limited information about why returns 403, I used postman, and it returns the following information.

"error": {
        "code": 403,
        "message": "This API method requires billing to be enabled. Please enable billing on project #851129945109 by visiting https://console.developers.google.com/billing/enable?project=851129945109 then retry. If you enabled billing for this project recently, wait a few minutes for the action to propagate to our systems and retry.",
        "status": "PERMISSION_DENIED",
        "details": [
            {
                "@type": "type.googleapis.com/google.rpc.Help",
                "links": [
                    {
                        "description": "Google developers console billing",
                        "url": "https://console.developers.google.com/billing/enable?project=851129945109"
                    }
                ]
            },
            {
                "@type": "type.googleapis.com/google.rpc.ErrorInfo",
                "reason": "BILLING_DISABLED",
                "domain": "googleapis.com",
                "metadata": {
                    "consumer": "projects/851129945109",
                    "service": "vision.googleapis.com"
                }
            }
        ]
    }

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