Loading...
Loading...
Compare original and translation side by side
npx leapcat@latestnpx leapcat@latestnpx leapcat@latest auth login --email <email> --send-only --json{ "otp_id": "<otp-id-string>" }npx leapcat@latest auth login --email <email> --otp-id <otp-id> --otp-code <code> --json--email <email>--send-only--otp-id <id>--otp-code <code>--jsonnpx leapcat@latest auth login --email <email> --send-only --json{ "otp_id": "<otp-id-string>" }npx leapcat@latest auth login --email <email> --otp-id <otp-id> --otp-code <code> --json--email <email>--send-only--otp-id <id>--otp-code <code>--jsonnpx leapcat@latest auth logout --jsonnpx leapcat@latest auth logout --jsonnpx leapcat@latest auth status --jsonnpx leapcat@latest auth status --jsonnpx leapcat@latest auth refresh --jsonnpx leapcat@latest auth refresh --jsonnpx leapcat@latest auth reauth --jsonnpx leapcat@latest auth reauth --jsonnpx leapcat@latest auth trade-password set --jsonnpx leapcat@latest auth trade-password set --jsonnpx leapcat@latest auth trade-password verify --jsonnpx leapcat@latest auth trade-password verify --jsonnpx leapcat@latest auth trade-password reset --jsonnpx leapcat@latest auth trade-password reset --jsonnpx leapcat@latest auth trade-password status --jsonnpx leapcat@latest auth trade-password status --jsonauth status --json--send-only--otp-id--otp-codeauth refresh --jsonauth reauth --jsonauth status --json--send-only--otp-id--otp-codeauth refresh --jsonauth reauth --json| Error | Cause | Resolution |
|---|---|---|
| OTP code timed out | Re-send OTP with |
| Wrong OTP code entered | Ask the user to double-check the code and retry |
| Auth token has expired | Run |
| No active session | Run the full login flow |
| Trade password required but not set | Run |
| 错误 | 原因 | 解决方案 |
|---|---|---|
| OTP验证码超时 | 携带 |
| 输入的OTP验证码错误 | 请用户核对验证码后重试 |
| 认证token已过期 | 运行 |
| 无活跃会话 | 执行完整登录流程 |
| 需要交易密码但尚未设置 | 运行 |