Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I got [reports](https://github.com/RageAgainstThePixel/OpenAI-DotNet/issues/236) that this started happening today: #1559

Closed
jpmaniqis opened this issue Feb 14, 2024 · 1 comment

Comments

@jpmaniqis
Copy link

I got reports that this started happening today:

{
  "error": {
    "message": "Unsupported content type: 'application/json; charset=utf-8'. This API method only accepts 'application/json' requests, but you specified the header 'Content-Type: application/json; charset=utf-8'. Please try again with a supported content type.",
    "type": "invalid_request_error",
    "param": null,
    "code": "unsupported_content_type"
  }
}

Adding Charset to the content-type should be acceptable. Didn't see any changes go into the schema so likely an issue internally in the API implementation.

Originally posted by @StephenHodgson in openai/openai-openapi#194

Originally posted by @jpmaniqis in mdn/content#32266

@Ousret
Copy link
Collaborator

Ousret commented May 17, 2024

Please refrain yourself from posting complete unrelated things to HTTPie.
This create too much noise.

@Ousret Ousret closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants