•   2 months ago

Facing 403 Error while development

I am building my application on Google Ai studio. I am near to the completion of my project but I am facing the error {"error":{"code":403,"message":"The caller does not have permission","status":"PERMISSION_DENIED"}}.
How to deal with this issue ?

  • 2 comments

  • Manager   •   2 months ago

    Hi there,

    Apologies for the delay. I've heard back from the team and hope this helps: A 403 Forbidden error with the message PERMISSION_DENIED is almost always a configuration mismatch rather than a coding error. Since you are near completion, it’s likely you've hit a specific restriction of the newer Gemini 3 models.

    Good luck!

  •   •   2 months ago

    I encountered a similar error.
    While in "preview" mode in Ai Studio, it would work fine until I deployed to Google Cloud Run.
    Turned out that there was a misconfiguration in the base image Ai Studio was using to deploy that wasn't correctly translating the keys from the GCR configuration to the application. I ended up having to use a different base Docker image and deploy via the `gcloud` CLI.

Log in or sign up for Devpost to join the conversation.