Skip to content

Copilot CLI stopped working: response validation failed: quota_snapshots.chat.overage_entitlement: Expected number, received null #4627

Description

@cfeval

Describe the bug

Copilot CLI (v1.0.81-9 and v1.0.81-12) suddenly stopped working, with error:

Error: Authentication token found but could not be validated.   Failed to fetch OAuth user login: response validation failed: quota_snapshots.chat.overage_entitlement: Expected number, received null quota_snapshots.completions.overage_entitlement: Expected number, received null quota_snapshots.premium_interactions.overage_entitlement: Expected number, received null Your token may still be valid.

When trying to /login again:

Error during sign-in: response validation failed: quota_snapshots.chat.overage_entitlement: Expected number, received null
 quota_snapshots.completions.overage_entitlement: Expected number, received null
 quota_snapshots.premium_interactions.overage_entitlement: Expected number, received null

Seems to be a discrepancy with required fields in CLI not available in API yet.

What's more: when using my Microsoft EMU account, it doesn't work. If I use my github corp account, it does.

Affected version

GitHub Copilot CLI 1.0.81-12

Steps to reproduce the behavior

  1. /login with Microsoft EMU account

Expected behavior

Login should work

Additional context

macOS (though confirmed colleagues have the issue on Windows)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions