Skip to content

MMX show API key validation failed #132

@yangzb09-cyber

Description

@yangzb09-cyber

⏺ Bash(node /usr/local/Cellar/node@18/18.20.8/lib/node_modules/mmx-cli/dist/mmx.mjs auth login --api-key sk-cp-_TCQc...…)
⎿  Error: Exit code 3
Testing key... {
"error": {
"code": 3,
"message": "API key validation failed.",
"hint": "Check that your key is valid and belongs to a Token Plan."
}
}

⏺ API key 验证仍然失败。错误 code: 3 表示该 key 无效或不属于有效的 Token Plan。

% /usr/local/Cellar/node@18/18.20.8/lib/node_modules/mmx-cli/dist/mmx.mjs config show
region: cn
base_url: https://api.minimaxi.com
output: text
timeout: 300
config_file: /Users/yangzb/.mmx/config.json
api_key: sk-c...htjM
% /usr/local/Cellar/node@18/18.20.8/lib/node_modules/mmx-cli/dist/mmx.mjs -v
mmx 1.0.13
mmx login失败,已确认Key生效,属于max订阅的token plan,在用且能使用curl交互。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions