Skip to content

[Bug]: gcli2api 调用403 #401

Description

@dashixin

提交前确认

  • 我已经搜索过现有的 issues,确认这不是重复问题
  • 我已经阅读过项目文档

是否是最新版

是,使用最新版

调用的是哪个渠道

geminicli

调用的是哪个模型

gemini-2.5-flash

调用的是哪个格式

gemini 格式

具体报错内容

"error": {
    "code": 403,
    "message": "You do not have a valid license of this product. Please contact your administrator to request a license. If you are not an enterprise user and believe you are receiving this message as an error, please try using the latest version and logging in again. (#3501)",
    "status": "PERMISSION_DENIED",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.ErrorInfo",
        "reason": "SUBSCRIPTION_REQUIRED",
        "domain": "cloudaicompanion.googleapis.com",
        "metadata": {
          "uiMessage": "true",
          "error_number": "1001"
        }
      },
      {

错误描述

好久没用了,重新拉去了最新的代码,在管理页面调用的时候还是报错 怎么解决

补充信息(可选)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions