Graphql gists / files / language / id query fails

The query:

{
  viewer {
    gists(first: 10) {
      nodes {
        id
        files {
          name
          size
          language {
            id
          }
        }
      }
    }
  }
}

Fails with:

{
  "errors": [
    {
      "message": "Something went wrong while executing your query. Please include `90D0:4138:477CFAD:7817DB4:5EEAC955` when reporting this issue."
    }
  ]
}

The culprit seems to be language.id (and language.color) fields. If I replace id it with language.name, it works:

{
  viewer {
    gists(first: 10) {
      nodes {
        id
        files {
          name
          size
          language {
            name
          }
        }
      }
    }
  }
}

:wave: @kjk, welcome to the GitHub Support Community!

We reviewed the details and can confirm that this behavior is not expected. As a result, we’ve escalated this to our engineering team. While we don’t have a timeline for when this will be resolved, but we will follow up here when we have an update from them. :bowing_man: