I'm approaching to Google Cloud Platform, and I've followed Deploying a containerized web application and I've successfully deployed a small Spring Boot service that uses Cloud Vision API (I'm using the Java client linked at the Vision webpage).
My issue is that when I call the service, I receive the following error message: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Request had insufficient authentication scopes.
. Such error appears when the client try to call the Cloud Vision API. I haven't such issue in my local installation of the service because I manually set the environment variable that points to the Google credentials file.
Any hints on what could be the cause of my issue and how to fix it?