zed-industries/zed · error · RuntimeError
GraphQL error: {result['errors']}
Error message
GraphQL error: {result['errors']} What it means
Error "GraphQL error: {result['errors']}" thrown in zed-industries/zed.
Source
Thrown at script/github-assign-contributor-issue.py:207
response = requests.post(
f"{GITHUB_API}/repos/{REPO_OWNER}/{REPO_NAME}/issues/{issue_number}/assignees",
headers=headers,
json={"assignees": [username]},
)
response.raise_for_status()
def execute_graphql(headers, query, variables):
"""Execute a GitHub GraphQL query. Raises on HTTP or GraphQL errors."""
response = requests.post(
f"{GITHUB_API}/graphql",
headers=headers,
json={"query": query, "variables": variables},
)
response.raise_for_status()
result = response.json()
if "errors" in result:
raise RuntimeError(f"GraphQL error: {result['errors']}")
return result["data"]
def fetch_project(headers, project_number):
"""Fetch a GitHub project board's metadata including fields and status options."""
data = execute_graphql(
headers,
"""
query($owner: String!, $number: Int!) {
organization(login: $owner) {
projectV2(number: $number) {
id
fields(first: 50) {
nodes {
... on ProjectV2SingleSelectField {
id
name
options { id name }View on GitHub (pinned to bc538def45)
When it happens
Trigger: Thrown at script/github-assign-contributor-issue.py:207 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of zed-industries/zed@bc538def45 (2026-08-16).
Data as JSON: /api/errors/0dfc263f07a1585b.
Report an issue: GitHub.