GraphQL Query Error for previously available default branch of NOT_FOUND repo

The following repository is NOT_FOUND (deleted or made private) but resolves to the repository still. When accessing the ID of the previously available default branch it errors out rather than giving the NOT_FOUND error.

query Commits {
  node(id: "MDEwOlJlcG9zaXRvcnkyNDY1NzYyNDA=") {
    id
    ... on Repository {
      defaultBranchRef {
        id
      }
    }
  }
}

results in

{
  "errors": [
    {
      "message": "Something went wrong while executing your query. Please include `8F9A:7E02:4F61BE:FB19FE:6040640D` when reporting this issue."
    }
  ]
}

Hey @nosferican :wave:

Is this still ongoing? I tried rerunning your query, and I get:

"message": "Could not resolve to a node with the global id of 'MDEwOlJlcG9zaXRvcnkyNDY1NzYyNDA='."

…and kicks out the NOT_FOUND error.

If you are still getting that error message which fails to run the query at all (so it seems) let us know!

1 Like

Seems to have been fixed now. Thanks!

1 Like