Skip to content

9.0.1 is erroring on Elastic Server 9.0.0 #2665

Closed
@kapso

Description

@kapso

This update seems to be causing this issue

[400] {"error":{"root_cause":[{"type":"media_type_header_exception","reason":"Invalid media-type value on headers [Accept, Content-Type]"}],"type":"media_type_header_exception","reason":"Invalid media-type value on headers [Accept, Content-Type]","caused_by":{"type":"status_exception","reason":"A compatible version is required on both Content-Type and Accept headers if either one has requested a compatible version. Accept=application/vnd.elasticsearch+json; compatible-with=9, Content-Type=application/json"}},"status":400}

Versions:
Elastic Server 9.0.0
elasticsearch 9.0.1 (gem)
searchkick 5.5.0
Rails 8.0.2
Ruby 3.4.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions