Skip to content

GPT 5.6 Luna on OpenCode Go: [invalid_encrypted_content] upstream request fails with decryption error #44135

Closed as not planned

Description

@aymenelouadi

Description

Bug Description

GPT 5.6 Luna model via OpenCode Go provider fails with an encrypted content
verification error. The upstream request cannot decrypt or parse the response.

Error Message

AI_APICallError: Error from provider (Console Go): Upstream request failed:
invalid_encrypted_content The encrypted content gAAA...kifQ could not be
verified. Reason: Encrypted content could not be decrypted or parsed.

Steps to Reproduce

  1. Subscribe to OpenCode Go
  2. Connect via /connect command
  3. Select opencode-go/gpt-5.6-luna model
  4. Send any prompt
  5. Error occurs on response

Expected Behavior

Model should respond normally like other Go models (e.g., mimo-v2.5-pro works fine).

Environment

  • OS: Windows 11
  • OpenCode version: 1.18.21
  • Provider: OpenCode Go
  • Model: gpt-5.6-luna

Logs

timestamp=2026-08-20T16:27:21.387Z level=ERROR message="stream error"
providerID=opencode-go modelID=gpt-5.6-luna
error.error="AI_APICallError: Error from provider (Console Go):
Upstream request failed: invalid_encrypted_content..."

Additional Context

Other Go models (deepseek-v4-pro, mimo-v2.5-pro) work fine on same account.
Issue appears to be specific to GPT 5.6 Luna's encrypted content handling.

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. github-actions commented on Aug 22, 2026

    @github-actions
    Contributor

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

    If your issue is the same as one of these, please add a comment there instead so the discussion stays in one place.

  2. andrewhooker79 commented on Aug 24, 2026

    @andrewhooker79

    same issue for me also

  3. bjarkiella commented on Aug 27, 2026

    @bjarkiella

    I get the same error, but with Opencode Zen, using the gpt5.6-sol model, with high reasoning.

    Im using pi as my agent, v0.84.3, on Linux.

    Error: OpenAI API error (400): {"param":null,"type":"invalid_request_error","message":"Error
    from provider (Console): Upstream request failed: [invalid_encrypted_content] The encrypted
    content for item rs_<some_Code> could not be verified.
    Reason: Encrypted content could not be decrypted or parsed."}

  4. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

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

Metadata

Metadata

Assignees

No one assigned

    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