Skip to content

订阅了GO套餐使用opencode cli调用使用GLM5.2的时候报错了 #34601

Closed as not planned

Description

@rfhuang

Description

订阅了GO套餐使用API调用模式配置到opencode cli调用使用GLM5.2的时候报错了。报错信息如下:
"statusCode":401,"responseHeaders":{"alt-svc":"h3=":443"; ma=2592000","cf-placement":"remote-ORD","cf-ray":"a13a181efb931d1a-EWR","content-type":"application/json","date":"Tue, 30 Jun 2026 03:30:47 GMT","server":"cloudflare","transfer-encoding":"chunked","via":"1.1 Caddy","x-trace-id":"cmpl_2ce3a636820341b9a7fe6f810a411504_b9ab59_1782790246108"},"responseBody":"{"error":{"message":"The API key you provided is invalid.","param":null,"code":"UNAUTHORIZED","type":"error"},"request_id":"chatcmpl-0961fe15493d4061a4ae209a4fc0e700"}","isRetryable":false,"data":{"error":{"message":"The API key you provided is invalid.","type":"error","param":null,"code":"UNAUTHORIZED"}}}}

Plugins

No response

OpenCode version

1.16.2

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 Jun 30, 2026

    @github-actions
    Contributor

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

    If your issue is different, please add more context (Steps to reproduce, Operating System, Terminal) to help distinguish it from existing reports.

  2. github-actions commented on Aug 30, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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