leetcode-cli icon indicating copy to clipboard operation
leetcode-cli copied to clipboard

[ERROR] http error [code=400]

Open Xtscat opened this issue 3 years ago • 3 comments


~ # leetcode version -v root@localhost


| | | | | | | | ___ | | ___ ___ __| | ___ | |/ _ / _ \ __|/ __|/ _ \ / ` |/ _
| | _/ / | (| (
) | (
| | __/ |
|_|_|_|_|_/ _,_|___| CLI v2.6.2

[Environment] Node v12.0.0 OS linux 4.14.116 Cache /root/.lc/leetcode.cn/cache Config /root/.lc/config.json

[Configuration] autologin {"enable":true,"retry":2} code {"editor":"vim","lang":"java"} file {"show":"${fid}.${slug}","submission":"${fid}.${slug}.${sid}.${ac}"} color {"enable":true,"theme":"green"} icon {"theme":""} network {"concurrency":10,"delay":1} app "leetcode.cn"

[Themes] Colors blue,dark,default,molokai,orange,pink,solarized,solarized.light Icons ascii,default,win7

[Plugins] cache default retry default leetcode.cn 2018.11.25 leetcode default

~ # leetcode list root@localhost [ERROR] http error [code=400]

~ # leetcode show 1 -g -l java root@localhost [ERROR] http error [code=400]

~ # node -v 130 ↵ root@localhost v12.0.0

~ # npm -v root@localhost 6.14.12

I have tried reinstallation, re-login, etc. And ruled out network problems. But it still reports an error.

Xtscat avatar Apr 25 '21 13:04 Xtscat

By the way, my operating system doesn't have a desktop, and I don't know if it has an effect

Xtscat avatar Apr 25 '21 13:04 Xtscat

+1

Li-4 avatar Sep 14 '22 17:09 Li-4

this will help for leetcode.cn 400 ERROR #216

Li-4 avatar Sep 15 '22 16:09 Li-4