Skip to content

rover graph introspect fails with HTTP 422 error after updating to latest version #2908

@strasseneck

Description

@strasseneck

Description

After updating to the latest version, 0.37.0 Rover graph introspect started failing with an HTTP 422 error. Previous version still works. This was first noticed in a CI workflow but also failed locally with the latest version, using the previous version fixed it both in the CI and locally.

Steps to reproduce

Using the latest version 0.37.0 run rover graph introspect against a valid GraphQL endpoint with introspection enabled

Expected result

Introspection should succeed and schema should be published.

Actual result

Publishing SDL to <graph_ref> using credentials from the default profile.
error[E004]: HTTP status client error (422 unknown) for url (<graphql_endpoint>)
        Make sure the endpoint is accepting connections and is spelled correctly
error: The SDL you passed was empty
        Make sure the command you are piping to Rover contains output.

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐞triageissues and PRs that need to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions