UnityCloudVision
UnityCloudVision copied to clipboard
Error: 403 Forbidden
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) <Capture>d__32:MoveNext() (at Assets/WebCamTextureToCloudVision.cs:279) UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
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"
}
}
]
}