Skip to content

OpenCode provider reaches cookie-authenticated session, but fetch fails with HTTP 500 #706

@jeshbarlow

Description

@jeshbarlow

Environment:

  • CodexBar 0.20
  • macOS 15.x
  • OpenCode provider
  • Cookie source: Manual

What I verified:

  • I am logged into opencode.ai in the browser
  • I can see authenticated POST requests to https://opencode.ai/_server in DevTools
  • Request headers include a valid Cookie header
  • CodexBar no longer fails with “No OpenCode session cookies found in browsers”
  • After supplying the cookie manually, CodexBar fails with:
    “OpenCode API error: HTTP 500: HTTPError”

What I tried:

  • Manual cookie from authenticated /_server request
  • Workspace override set to:
    wrk_01KNJZ12TYPERCDX6W75FZF8ZZ

Expected:

  • CodexBar should fetch workspace/subscription usage from OpenCode

Actual:

  • CodexBar returns HTTP 500 from the OpenCode provider

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:providersNew provider support or provider-specific product surfaceblocked-upstreamLikely blocked or constrained by upstream provider behaviorbugSomething isn't workingpriority:highHigh priority: confirmed serious bug or blockerprovider:opencodeIssue specific to OpenCode

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions