HTTP 415
unsupported_media_type
HTTP 415. Unsupported media type.
When you see it
A request that carries a body has no Content-Type: application/json. A GET or a DELETE sends no body and never needs the header. The two upload routes, POST /v1/attachments/upload and POST /v1/inbox/upload, are the exception: they also take a file as the raw body, of any type.
What to do
Set Content-Type: application/json on every POST and PATCH. The API speaks JSON, except for a file sent raw to the two upload routes, and v1 has no form or multipart endpoint.
The body
type is https://devs.inittasks.com/errors/unsupported_media_type. instance is the path that failed, here /v1/todos. For the full RFC 9457 shape, the request_id field and the retry rules, see errors and retries.