Workbench / Issues

Invalid JSON Output

The AI returns malformed JSON or structured output that cannot be parsed.

What This Looks Like

The AI returns something that looks like JSON or structured output, but the result will not parse. The user may see broken braces, unescaped quotes, trailing commas, mixed prose inside the JSON, comments inside the object, or an output block that a parser rejects even though a human can understand the intent.

Why It Matters

Structured output often sits between the AI and another system. If the JSON is invalid, downstream parsing, validation, importing, automation, or tool execution can fail immediately. This turns a small-looking formatting failure into a workflow blocker.

Structural Signal

A structured output contract exists, but the generated response violates the parseable form required by the consumer. The issue is not whether the answer is semantically useful; it is whether the output can cross the interface boundary as valid structured data.

Common Triggers

When to Use This Issue

Use this Issue when the central failure is that generated JSON or structured output cannot be parsed by the expected consumer.

When Not to Use This Issue

Do not use this Issue when the JSON parses successfully but contains wrong values, missing fields, extra fields, or wrong field types. Those are separate structured-output Issues.

Category

Output

Primary Pattern

PAT-0160 — Schema Breakage

Declared Patterns

Derived Primary Lenses

Derived Secondary Lenses

Search Intents

Ontology Metadata

Code
ISS-0021
Version
ISS-0021@0.1.0
Ontology release
0.1.0
Updated
2026-05-10T00:00:00Z

History

No public history entries recorded.

View full ontology changelog