Skip to content

"unhandledRejection" error #122

@iloveeclipse

Description

@iloveeclipse

Feedback source

None

GitHub Copilot plugin version

0.16.0.202604201810_nightly

Eclipse IDE and version

4.40 latest nightly I20260421-1800

Platform

Just some code browsing in java code, switching from one editor to other, noticed this error reported int he error log.

null
org.eclipse.lsp4e
Error
Wed Apr 22 15:12:23 CEST 2026
[LS:GitHub Copilot Language Server][Error]	[default] unhandledRejection: Error: Tests: either GITHUB_PAT, GITHUB_OAUTH_TOKEN, or GITHUB_OAUTH_TOKEN+VSCODE_COPILOT_CHAT_TOKEN must be set unless running from an IS_SCENARIO_AUTOMATION environment. Run "npm run get_token" to get credentials.
    at Flt.tokenProvider (/snapshot/copilot-intellij/dist/main.js:1440:8372)
    at Object.get accessToken [as accessToken] (/snapshot/copilot-intellij/dist/main.js:1311:3830)
    at Flt._handleAuthChangeEvent (/snapshot/copilot-intellij/dist/main.js:780:10408)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)

Steps to reproduce

No steps

Logs (optional)

No response

Expected behavior

No errors

Actual behavior

Error logged sometimes

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions