Steps
How we tested, and what is real
On 25 October 2026 we ran 27 executions on n8n 2.43.7 with
n8n execute: the Information Extractor (version 1.2, one test on 1.1) with the OpenAI Chat Model sub-node (version 1.3). To get the exact bad replies real models sometimes give (a number as text, a long date, prose around the JSON), we pointed the OpenAI credential's Base URL at a small local stand-in that returns fixed texts and logs every request. So the model's replies are scripted; n8n's prompts, parsing, retries and error texts are real.Read the result at $json.output
Every extracted value lands under
output:{{ $json.output.name }}, not$json.name. Attributes the model left out are simply missing, and fields that are not in your attributes are dropped without a warning.Every format miss costs a second model call, silently
The node always wraps its parser in an auto-fix step; there is no switch for it. Whenever a reply did not fit (a number sent as
"30", a boolean as"yes", a date in the wrong format,null, prose around the JSON, a missing required attribute), n8n sent a second request to the model asking it to fix the reply. The node still showed success, so the only trace is in your model bill and request logs. If your costs look doubled, this is a likely reason.The fix call never sees your text
We checked the fix request: it contains the schema, the bad reply and the error, but not the original input text. So a value "fixed" in that step can be invented. When the text had no age at all, the run still passed because the fixer returned a full record. For fields that matter (amounts, dates, emails), check them against the source, or mark them optional so a missing value stays missing.
Dates: YYYY-MM-DD only, and optional is not nullable
A Date attribute rejected both
March 3, 1990and1990-03-03T00:00:00Z; only1990-03-03passed. Say so in the attribute description ("date as YYYY-MM-DD"), or use a String attribute and convert it later. An optional attribute set tonullwas also rejected: optional means the model may leave it out. Tell the model to omit unknown fields instead of writing null."Model output doesn't fit required format": the fix failed too
This error only appears when the second, fixing call also returned something invalid. It never says which field was wrong. Read the first reply by temporarily using a Basic LLM Chain with the same prompt, simplify the attributes, and use clearer descriptions. Unlike the Structured Output Parser (see the guide linked below), the fix step worked here with Use Responses API on and off.
JSON example mode: every field is required in version 1.2
With Schema Type Generate From JSON Example, node version 1.2 treated every field of the example as required: a reply without one was rejected and sent to the fix step. Version 1.1 accepted the same reply. To have optional fields on 1.2, use Define using JSON Schema and list only the must-have fields in
required.Many items: 5 parallel calls, and one failure stops all
By default (Batch Size 5) the node sent 5 requests at the same moment, which is a likely cause of rate-limit errors on big inputs. Set Batch Size to 1 or add Delay Between Batches in Options. Also, one item that fails even after the fix fails the whole node and you lose the good results; set Settings > On Error > Continue (regular output) and route items with an
errorfield. Key and billing errors show a generic top line (Authorization failed,too many requests); the real reason, such asYou exceeded your current quota, is on the next line.
All test results
We ran 27 executions; some rows group several. Left: what we set up or what the model replied (scripted by our stand-in, see the first step). Right: what n8n did (real).
| Test | Result |
|---|---|
Text Ann record: name Ann, age 30., attributes name (string, required), age (number, required), dob (date), vip (boolean) | Worked. Result at $json.output.name, $json.output.age. One model call |
Model reply inside a ```json code fence | Worked, one call |
| Optional attributes (dob, vip) left out of the reply | Worked; they are simply missing from output |
Extra field city in the reply | Worked, but city was silently dropped |
age sent as "30" (text) | Rejected, so n8n made a second model call to fix it; the node still showed success |
vip sent as "yes" | Rejected, second call |
dob as March 3, 1990 or 1990-03-03T00:00:00Z | Both rejected, second call: a Date attribute only accepts YYYY-MM-DD |
dob set to null (optional attribute) | Rejected, second call: optional means it may be left out, not that it may be null |
Required age missing (the text had no age) | Rejected, second call. Our stand-in fixer returned a full record, so the run passed; a real model can only guess the value, see below |
Prose around the JSON, a plain sentence, or {"output": {...}} wrapper from the model | Rejected each time, second call |
| Fix call also returns invalid JSON | Model output doesn't fit required format, with Use Responses API on and off |
| Text expression empty | Failed before any call: Text for item 0 is not defined (item numbers start at 0) |
| No attributes defined | At least one attribute must be specified |
| Schema Type Generate From JSON Example, node version 1.2, reply missing one example field | Rejected and a fix call was made: every example field is required |
| Same with node version 1.1 | Accepted with the field missing |
| 7 items, default Batch Size 5 | 5 requests sent within 1 ms of each other, then 2: items run in parallel |
| 7 items, Batch Size 1 | 7 requests, one after another (about 0.3 s apart with our fast stand-in) |
| 2 items, one good, one that fails even after the fix | The whole node failed and the good item's result was lost |
| Same, Settings > On Error > Continue (regular output) | Good item kept its output; the bad one became {"error": "Model output doesn't fit required format"}, no reason |
| Wrong API key | Authorization failed - please check your credentials; 401 Incorrect API key provided on the next line; one call, no retry |
No credits (429 insufficient_quota) | The service is receiving too many requests from you; 429 You exceeded your current quota on the next line; one call, no retry |
Checklist
- Read values at
$json.output.<attribute>. - Write in each attribute description the exact format you want:
YYYY-MM-DDfor dates, a plain number without units,true/false. - Tell the model to leave out unknown fields rather than send null.
- Format misses trigger a hidden second model call that cannot see your text: check important fields against the source.
- Version 1.2 with a JSON example makes every field required; use a JSON Schema for optional ones.
- Big batches: Batch Size 1 or Delay Between Batches to avoid 429s.
- On Error: Continue (regular output) so one bad item does not cost you the batch.
- Read the second line of credential errors: that is the provider's real reason.
Good to know
- Summarizing long text with a model instead? See n8n Summarization Chain not working (output keys, prompt braces, call count).
- Routing items into categories with a model? Dropped items, two-branch items and the fallback key are in n8n Text Classifier not working.
- Need free-form JSON from a chain or an agent instead? See n8n Structured Output Parser not working.
- Extraction inside an agent? Agent errors such as
No prompt specifiedare in n8n AI Agent node not working. - Quota and rate-limit errors from OpenAI are decoded in n8n OpenAI node not working, and pacing options in n8n 429 rate limits.
- Every error text from our n8n guides is in the n8n error message index.
What we did not test
The real api.openai.com or other providers such as Anthropic and Gemini (all replies came from our stand-in), very long texts and token limits, a custom System Prompt Template, how long Delay Between Batches waits, and n8n Cloud. In our runs the format instructions sent to the model also contained doubled braces {{ }} in the example; we did not see them cause a failure.
Start from a working agent
FAQ
What does "Model output doesn't fit required format" mean in the n8n Information Extractor?
The model reply did not match your attributes, and the automatic fix call n8n makes also failed. Common causes: a number sent as text, a date not in YYYY-MM-DD, null on an optional field, or prose around the JSON.
Why does the n8n Information Extractor make two calls to the model?
When a reply does not fit the schema, the node silently asks the model to fix it. There is no setting to turn this off, and the node still shows success, so the extra call only shows up in your usage.
What date format does the Information Extractor accept?
In our n8n 2.43.7 tests a Date attribute only accepted YYYY-MM-DD. Full timestamps and written dates were rejected. Put the format in the attribute description.
What does "Text for item 0 is not defined" mean?
The Text expression is empty for that item, counting from 0. Check the field name in the input panel.
Why is my Information Extractor result under output?
The node puts every attribute under output. Read it with $json.output.name.
Why do I get rate limit errors with the Information Extractor on many items?
By default it sends 5 items to the model at the same time. Set Batch Size to 1 or add a Delay Between Batches.
Related guides
- n8n Text Classifier not working? 30 tests, every error decoded
- n8n "Model output doesn't fit required format": 35 tests, fixed
- n8n Basic LLM Chain not working? 25 tests, every error decoded
- n8n OpenAI node not working? 18 tests, every error decoded
- n8n out of memory? 9 crash tests, and the setting to raise
New guides
- GitHub release notifications in Slack (any public repo, stable releases only)
- Send RSS feeds to Slack with a keyword filter (free, incoming webhook)
- Forward emails to a Slack channel (Gmail, Outlook, any IMAP), free with an incoming webhook
- n8n Google Sheets Trigger not working: not firing, activation errors and fixes