I have a payload that works fine on all Gemini APIs (2.5 pro exp, 2.0 flash, etc) but for some reason is not working in under 2.5 flash 05-20
{
"generationConfig": {},
"contents": [
{
"role": "user",
"parts": [
{
"text": "sam: make a simple hello world artifact"
}
]
}
],
"systemInstruction": {
"role": "system",
"parts": [
{
"text": "You are a helpful bot"
}
]
},
"tools": [
{
"function_declarations": [
{
"name": "create_artifact",
"description": "Creates a web artifact based on a specification",
"parameters": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "A name for the artifact"
},
"specification": {
"type": "string",
"description": "specifications"
}
},
"required": []
}
}
]
}
]
}
When i call it it simply returns:
data: {"promptFeedback": {"blockReason": "OTHER"},"usageMetadata": {"promptTokenCount": 78,"totalTokenCount": 78,"promptTokensDetails": [{"modality": "TEXT","tokenCount": 78}]},"modelVersion": "models/gemini-2.5-flash-preview-05-20"}
I tested with a simple āechoā tool call and it works, but this rather simple one fails.
Any ideas why this would be blocked on blockReason OTHER? Is a the latest Flash 2.5 being over protective.