Model: gemini-3.1-flash-image-preview Location: global Issue Starting: April 16, 2026
Description: > I am encountering a persistent “UNAUTHENTICATED” error when using fileUri (GCS) with the Gemini 3.1 Flash Image model in Vertex AI. This issue started occurring suddenly since yesterday.
Error Log:
Plaintext
Invalid authentication from policy (go/gcs-rpc-sp): Rejected by impersonation_policy (attempt to impersonate eval-infra-scheduler-scraper@prod.google.com)
Permission 'auth.impersonation.impersonateProdUser' not granted to cloud-ml-lvm-video-server@prod.google.com
What I’ve Checked:
-
Verified IAM roles for the Service Account (Storage Admin, Vertex AI Admin).
-
Verified IAM roles for the Vertex AI Service Agent (Storage Object Viewer assigned).
-
The issue persists even with 100% correct IAM settings.
This seems to be an internal Google infrastructure/policy regression regarding how the vision server fetches data from GCS. Is this a known issue?
To provide more context, I am processing image analysis with Gemini 3 Flash and image generation with Nano Banana 2 via Vertex AI batch jobs to use Nano Banana 2 for translation purposes while reducing costs.
Everything has been working fine until recently, when errors suddenly started occurring.
I am not sure if this is an internal Google issue and I should just wait, or if I fundamentally need to modify my program.
Is anyone else experiencing similar issues?