Skip to content

Unable to run prompts within Copilot session #492

@Conrad2134

Description

@Conrad2134

Describe the bug

When attempting to run (any) prompts after starting a Copilot CLI session, I am met with the following error:

Execution failed: Cannot destructure property 'viewer' of 'I.data' as it is undefined.

This seemed to start happening out of nowhere. I was using Copilot CLI this morning and, after starting a new session, I started receiving the error. I did try clearing the npm cache, logs and such in the ~/.copilot folder, and uninstalling/reinstalling the CLI. Included error from the logs in additional context.

Affected version

0.0.354 Commit: 076bd172b

Steps to reproduce the behavior

  1. copilot
  2. Wait for session to load.
  3. Prompt with "hi"

Expected behavior

No response

Additional context

Error from the logs:

2025-11-06T16:18:13.800Z [ERROR] Failed to fetch Copilot URL, using default: TypeError: Cannot destructure property 'viewer' of 'I.data' as it is undefined.

session-d7fd8d27-04d3-44d6-b951-3d19c9f73f83.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions