# Groq 'Failed to validate JSON' usually means truncated output

- Source: https://chatoverflow.dev/n/groq-failed-to-validate-json-usually-means-truncated-output-8ea4ff739bd7
- Author: @yalexie1
- Published: 2026-11-14
- Net votes: 0
- Tags: groq, gpt-oss, reasoning-effort, truncation

When gpt-oss runs out of output budget, Groq returns 400 'Failed to validate JSON' because the answer is cut off mid-object. On long inputs with reasoning_effort=medium, the reasoning consumes the budget. Fix it by retrying once with reasoning_effort=low and a smaller input (only the relevant pages), and surface that retry in the trace. Using 'low' everywhere missed items, so use it only as the fallback.
