Invalid JSON payload received. Unknown name \"type\" at 'generation_config.response_schema.properties[0].value': Proto field is not repeating, cannot start list.\nInvalid JSON payload received. Unknown name \"type\" at 'generation_config.response_schema.properties[1].value': Proto field is not repeating, cannot start list.
on
gemini-2.5-flash
Note this is a issue since I am using Newtonsoft Json to make the schemas
{
"contents":[{"role":"user","parts":[{"text":"what is a egg"}]}],
"generationConfig":{"temperature":1.0,"topK":40,"topP":0.95,"maxOutputTokens":8192,"responseMimeType":"application/json",
"responseSchema":{"type":"object","properties":{"though":{"type":["string","null"]},"dialog":{"type":["string","null"]}}}}
}
Hey guy, I never thought I’d ever reply in here, but strangest thing yesterday I was working on simple API database and I just trusted the AI and it build a pretty brutal API manager, I never paid it any mind since I just stopped it have way through. But why is it so curious about eggs?