continue icon indicating copy to clipboard operation
continue copied to clipboard

Error: Gemini 2.5 Flash - Unknown error

Open civiocouto opened this issue 9 months ago • 2 comments

Error Details

Model: Gemini 2.5 Flash Provider: gemini Status Code: N/A

Error Output

exception TypeError: fetch failed sending request

Additional Context Please add any additional context about the error here

civiocouto avatar Feb 04 '26 14:02 civiocouto

Related issues:

  • #9575 - Error: Gemini 2.5 Flash - Unknown error (OPEN)
  • #10186 - Error: Gemini 2.0 Flash - Unknown error (OPEN)
  • #10064 - Error: Gemini 2.5 Pro - Unknown error (OPEN)
  • #9910 - Error: Gemini 2.0 Flash - Unknown error (OPEN)
  • #9804 - Error: Gemini 2.5 Pro - Unknown error (OPEN)
  • #10181 - Error: Gemini 3 Pro - Unknown error (OPEN)
  • #7241 - Bug: Intermittent "Unexpected response format" error on Gemini models with inconsistent state logging (OPEN)

sestinj avatar Feb 04 '26 14:02 sestinj

Closing this issue as it is a duplicate of a common TypeError: fetch failed error affecting the Gemini provider. This error typically indicates a network connectivity issue between your machine and the Gemini API (e.g., firewall, proxy, DNS, VPN, or regional blocking) rather than a bug in Continue itself.

Troubleshooting steps:

  1. Verify you can reach generativelanguage.googleapis.com from your network
  2. If you're behind a proxy or VPN, ensure it's configured correctly in your Continue settings via requestOptions.proxy
  3. Check that your API key is valid and has not expired
  4. Try switching networks (e.g., from corporate to personal) to rule out network-level blocking

If you continue to experience this issue and have confirmed network connectivity is not the cause, please open a new issue with additional context including your OS, network environment, and any relevant configuration.

RomneyDa avatar Mar 25 '26 02:03 RomneyDa