Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
There is no way of checking the occurrence of authentication errors in logs explorer while calling Vision API.
What you expected to happen:
To be able to see the policy denied logs after failed authentication errors such as [1].
Steps to reproduce:
1. Followed this quickguide and try to fail the authentication:
2. Check for the failed authentication attempt in cloud logging(only successful cloud logging attempts are logged in Cloud logging)
Other information (workarounds you have tried, documentation consulted, etc):
Here it says that Vision API does not have Policy denied logs (
[1] 'message:401 Request had invalid authentication.
credentials. Expected OAuth 2 access token,
login cookie or other valid authentication credential.
See
[reason:"ACCESS_TOKEN_EXPIRED"
domain: "
metadata {
key: "service"
value: "
}
metadata {
key: "method"
value:
"google.cloud.vision.v1.ImageAnnotator BatchAnnotatelmages"