#1349·freellmapi

Gemini error iin claude code

Author: abrarulhaq7Created Sep 28, 2026Updated Sep 30, 2026

I downloaded repo, clone it. npm install, run project, login. add gemini keys. test in playground, Working. install claude code. with npx freellmapi setup-claude --url http://localhost:3001 added the unified-key. then run claude and say "HI" to claude and got error.

⏺ API Error: 400 All routed providers rejected the request as invalid. Attempt trail: google/gemini-3.5-flash key1: provider_bad_request; google/gemini-3.7-flash key1: provider_bad_request; google/gemini-3.6-flash key1: provider_bad_request; google/gemini-3.5-flash-lite key1: provider_bad_request; google/gemini-2.5-flash key1: provider_bad_request; google/gemini-3.1-flash-lite key1: provider_bad_request; google/gemini-3-flash-preview key1: provider_bad_request; google/gemini-2.5-flash-lite key1: provider_bad_request. Last error: Google API error 400: * GenerateContentRequest.tools[0].function_declarations[3].parameters.properties[query].properties[where].items.items: missing field.

what i am missing? Please help.

Source: tashfeenahmed/freellmapi