{"version":"2.1.221","anchor":"local-http-api-rejects-non-string-model-fields","canonical_anchor":"local-http-api-rejects-non-string-model-fields","heading":"Local HTTP API rejects non-string model fields","tier":"notice","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.221\/e\/local-http-api-rejects-non-string-model-fields","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.221","markdown":"### Local HTTP API rejects non-string model fields\n\nThe local HTTP API now returns a clear 400 when model isn't a string, instead of ignoring it.\n\n**What**\n\nA request body whose `model` key is not a string now fails loudly instead of having the field quietly ignored.\n\n**Details**\n\n- Returns 400 with an `invalid_request_error`.\n\n**Evidence**\n\n`model must be a string`\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 0\/5"}