⏺ 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交互。
⏺ 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交互。