I’m building an app and suddenly started getting “An internal error occurred” Retry. It seems to have started after I asked Gemini to do the following:
“I have an Mp3 music file I want you to play for the intro and outro, how can I implement that file here?
I don’t want to have to upload the audio file every time. I want you to hard code the mp3 file into the app so that It will play? possibly converting it to base64 first and then using it
something like this
I have faced this issue in the past, and the error never goes away. So, what I do is go back to the prompt in which my application was working, and then I clear the chat, followed by a new prompt. This time, I just rephrase it. Something similar, but the majority of the time, it works. If the same issue comes up, I repeat the same process and rephrase the prompt again so that the AI understands me. Let me know if it works : )
I noticed that sometimes this error happens when the project gets too large and there are too many files or files are too large. But in this specific project, files are not too large. I have many of them, but they are not too large. The overall project is 2 MB.
I had to switch to my key for the API, but still the issue is still there. It keeps retrying, but this is only happening if I use a Gemini 3 Pro preview.
It would be good to have a bit more information on what the issue is when we have such a message.
Hi @Nicolas_Dengler, welcome to the AI Forum! Thank you so much for raising this issue. To help us debug this effectively, could you please let us know if this is a persistent issue related to a specific prompt or token count? It might also be helpful to try rephrasing your prompt, as suggested in the community, to see if that resolves the error.
I have this issue as well. I literally can’t do anything? No matter what I attempt to type it always comes up with the same Retry. Ive been using it for months and its like I’m blocked? Its been the same project, so I know the code works, and it works on any new project. Is there a project size limit? Mines at 3.8mb