Skip to content

Error: 403 You do not have permission to access the File xxxx or it may not exist. #692

@bigmw

Description

@bigmw

Description of the bug:

I build an chat app on Gemini. I use gemini-2.0-flash-exp with files uploaded using genai.upload_file().

The error occurs more or less randomly. It seems to happen when I open my app in multiple browsers and/or chat for several rounds. And it seems to occur in Safari on iphone more often than other browsers on a PC. But I am not positive.

I saw similar bug reports in the past several months:
#617
Google AI Forum thread

I guess bugs like this would heavily affect Gemini’s usability and adoption. Please check and fix the problem. thank you!

BTW, I tried to post similar report in the Google AI Forum thread. But it has not been approved so far.

Actual vs expected behavior:

No response

Any other information you'd like to share?

No response

Metadata

Metadata

Assignees

Labels

component:apiIssues related to the API, not the SDK.status:awaiting user responseAwaiting a response from the authorstatus:staleIssue/PR will be closed automatically if there's no further activitytype:bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions