vscode-leetcode: [ERROR] http error [code=400]

I install the leetcode plugin from vscode and login successfully with leetcode-cn account, but it fails downloading contents.

- Downloading problems
- Downloading questions titles
[ERROR] http error [code=400]

I like this plugin. It really improves leetcode experience. But it doesn’t work now. Can you help me?

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 27 (6 by maintainers)

Most upvoted comments

Hi @ALL @jdneo I try to locate this bug. And I found that leetcode-cn just change their payload in here. image I try to change it to new payload, found it worked, and I need more time for debug it. image But today I’m a little busy and I will find someway maybe tomorrow night~

change code at line 117 to following: body.data.translations.forEach(function(x) { titles[x.questionId] = x.title; });

Yes sorry my laptop is power off …

Hi @all @jdneo I try to locate this bug. And I found that leetcode-cn just change their payload in here. image I try to change it to new payload, found it worked, and I need more time for debug it. image But today I’m a little busy and I will find someway maybe tomorrow night~