Troubleshoot with Gemini API: 500 An internal error has occurred

Hi everyone, I got this troubleshoot from my terminal

“”“grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
status = StatusCode.INTERNAL
details = “An internal error has occurred. Please retry or report in Troubleshooting guide  |  Gemini API  |  Google for Developers
debug_error_string = “UNKNOWN:Error received from peer ipv4:108.177.96.95:443 {grpc_message:“An internal error has occurred. Please retry or report in Troubleshooting guide  |  Gemini API  |  Google for Developers”, grpc_status:13, created_time:“2024-07-18T15:24:11.507290977+01:00”}””"

raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.InternalServerError: 500 An internal error has occurred.

Please, help me for this problem

4 Likes

Same issue, but only occurs in the 1.5pro model; the 1.5flash is normal.

3 Likes

Welcome to the forum!

Is there a minimal demonstration of the problem that you can share? A lot of people are seeing similar issues, but having an understanding if there is something specific that is causing this might help us figure out what is going on.