Hi,
After an n8n update I started to see this message in the docker compose logs -f command
n8n_app | Zod field at #/definitions/format_final_json_response/properties/output
uses .optional()
without .nullable()
which is not supported by the API. See: https://platform.openai.com/docs/guides/structured-outputs?api-mode=responses#all-fields-must-be-required
n8n_app | This will become an error in a future version of the SDK.
All my Structured Output Parser nodes are referencing a schema that is already using a required field like mentioned in the Openai doc, so I don’t really understand how to solve this and get rid of these messages. Or is this coming from somewhere else ?
Information on your n8n setup
- n8n version: 1.91.3
- Database (default: SQLite): Postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main): Default
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Linux