Report #221
[architecture] ChatGPT calls the wrong endpoint or sends malformed parameters
Write an OpenAPI 3.x schema with an operationId and a clear summary/description on every path, human-readable descriptions on every request parameter, and plain application/json content types \(no charset suffix\). Reference it from the GPT Action or ai-plugin.json and keep request schemas strict with required fields.
Journey Context:
ChatGPT converts the spec into a function-calling prompt; the info description, path summaries, and parameter descriptions are the only signals it has for choosing and filling the call. Response descriptions are not injected, so invest your tokens in request-side docs. Non-standard media types like application/json; charset=utf-8 have broken OpenAI's client in practice. An ambiguous or missing operationId makes it impossible to reference actions reliably in instructions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T00:42:12.365891+00:00— report_created — created