Skip to content

Request blocked by upstream provider. #38473

Closed as duplicate
Closed as duplicate

Description

@DoDD96

Problem Description

When attempting to access paid models using OpenCode Go, all requests fail with a 401 Request blocked by upstream provider error. Free models continue to work normally without any issues.

Actual Behavior

Requests to paid models fail immediately with:
401 Request blocked by upstream provider
Free models under the same setup/account function as expected.

System & Version Info

  • OpenCode Version: v1.18.4
  • OS/Environment: Windows 11
  • Active Subscription/Credits: OpenCode Go
Image

Activity

  1. github-actions commented on Jul 23, 2026

    @github-actions
    Contributor

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

    If your issue is the same, please add a reaction or comment on one of the existing threads rather than opening a new one.

  2. kai-kleinbard-tyto commented on Jul 30, 2026

    @kai-kleinbard-tyto

    Closing — insufficient information to investigate (no template, no version, no repro steps, or support question). Please reopen with the Bug Report template.

  3. Sanjay-doppalapudi commented on Aug 6, 2026

    @Sanjay-doppalapudi

    Root cause traced to source in #38218 (comment) — short version: this string is thrown by the workspace.isBlocked check in packages/console/app/src/routes/zen/util/handler.ts (added in c40e3e7, 2026-07-21). No upstream provider is contacted; the request is refused at opencode's edge (~114 ms, same latency as the local invalid-key path), and the same models answer anonymously in the same second. Key rotation, cache clearing, and re-login cannot help. #40944 proposes a distinct error message for this case so it stops presenting as a vendor outage.

  4. neriousy commented on Oct 1, 2026

    @neriousy
    Member

    Closing as a duplicate of #38218. Same "Request blocked by upstream provider" 401. This error comes from OpenCode's own gateway (a blocked workspace), not from an upstream provider. Account unblocks and refunds are handled per workspace, so please contact support (help@anoma.ly) with your workspace ID.

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