Gemini 2.5 Pro Error

“When I use the Code execution tool within Tools, Gemini 2.5 Pro Preview 03-25 prompts with ‘An internal error has occurred’ and ‘Failed to generate content.’”

2 Likes

Same issue here. I was thinking maybe i used it too much but theres no warning of that.

1 Like

But I couldn’t use it the first time, and I tried several times, but I couldn’t.It’s so weird.

1 Like

Thank God for the excellent staff to solve this problem.

1 Like

Does it work for you? I’m in France and I’m still getting this error since yesterday afternoon.

1 Like

All the friends who have encountered the same problem, I have used it now. It should be the staff of Google who have fixed it. Thank them very much.

1 Like

My friend, you can try again and see how it goes.

1 Like

yes,I can use it now.I saw yesterday that it could be used. It should be repaired.

Same issue for me. As soon as I got to about 2000 lines of code, the error became consistant. Not resolved.