I keep getting this error :
received 1011 (internal error) You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: h; then sent 1011 (internal error) You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: h.
I’m using the gemini model : gemini-2.5-flash-preview-native-audio-dialog
this is the exact line of code that throws the error:
async with client.aio.live.connect(model=model_id,
config=config) as session:
here are how client, model_id, and config are defined :
client = genai.Client(api_key=<api_key>, http_options={"api_version": "v1beta"}) model_id = "gemini-2.5-flash-preview-native-audio-dialog" config = types.LiveConnectConfig( response_modalities=[types.Modality.AUDIO], speech_config=types.SpeechConfig( voice_config=types.VoiceConfig( prebuilt_voice_config=types.PrebuiltVoiceConfig( voice_name="Sadaltager" ) ), ), system_instruction=<system_prompt> )
however, when I go to my google cloud console, on the top left where the navigation menu is (the three horizontal bars) I click that and go to → IAM & Admin → quotas and System limits
where it states that my limit/quota is 7000 and current usage is 13 and the usage is <1%.
does anyone know if I have to do something to fix this? do I have to change something on my google cloud account? or it is some bug in google’s api? I am currently using google-genai 1.19.0 python's SDK