Skip to content

Config Error on TUI is not readable like before #27056

Closed

Description

@OpeOginni

Description

Current Version of OpenCode the error printed to the terminal when you have an invalid configuration is not as helpful as it used to be, where it gave the file address and the part that is invalid.

This makes users not know where best to go to fix the issue.

Error: 4 of 5 requests failed: config.providers: ConfigInvalidError; provider.list: ConfigInvalidError; app.agents: ConfigInvalidError; config.get: ConfigInvalidError
    at BO (/$bunfs/root/chunk-b69a2h84.js:469:644)
    at <anonymous> (/$bunfs/root/chunk-b69a2h84.js:469:6060)
    at processTicksAndRejections (native:7:39)

Plugins

None

OpenCode version

1.14.48

Steps to reproduce

  1. Write an invalid Configuration
  2. Try to run the TUI for that directory
  3. Notice the error given

Screenshot and/or share link

No response

Operating System

macOS

Terminal

Ghostty

Activity

  1. github-actions commented on May 12, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    • [FEATURE]: Show concrete config errors #17333: Feature request for showing concrete config errors — describes the same underlying problem of unhelpful config error messages, though that issue was filed when errors were less informative and this reports a regression from previously better behavior.

    If your issue is specifically about a regression (errors were more helpful in a previous version), please clarify that in the issue so maintainers can distinguish it from #17333.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions