Skip to content

Error: Upstream request failed: [invalid_request_error] reasoning encrypted_content was not issued to this caller #50397

Closed as not planned

Description

@duiniwukenaihe

Description

I upgraded opencode2 today, and while using it, I suddenly got the following error: Error: Upstream request failed: [invalid_request_error] reasoning encrypted_content was not issued to this caller. What is this problem, and how can I solve it?

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. self-assigned this
    on Oct 15, 2026
  2. opencodejr commented on Oct 28, 2026

    @opencodejr

    Thanks for the report! This error comes from the model provider: it is rejecting encrypted reasoning that OpenCode sent back from an earlier turn, saying that reasoning wasn't issued to the current caller. To work out why, could you share:

    • The output of opencode --version
    • The provider and model you were using (e.g. GitHub Copilot, OpenAI, OpenCode Zen, or a custom/proxy provider), and how you are logged in (OAuth/subscription or API key)
    • Whether it happens in a new session, or only when continuing a session started before the upgrade, or after switching model, account or API key in the middle of a session
    • Your operating system and how you installed OpenCode
    • Any relevant log lines around the error, if you can get them

    Until then, starting a fresh session with the same model might get you working again. If that helps, please tell us, since it narrows down the cause.

    You can reply here with the details or edit the issue. If you edit it, please also leave a comment saying you've updated it so we know you're done.

  3. opencodejr commented on Oct 31, 2026

    @opencodejr

    We haven't heard back here, so I'm closing this issue for now. We can't look into the reasoning encrypted_content was not issued to this caller error without knowing your OpenCode version, the provider and model (and how you're logged in), and whether it happens in a new session or only when continuing an existing one.

    If it still happens, please reply with those details and we can reopen this, or open a new issue that links back to #50397. Starting a fresh session may also work around it in the meantime.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions