Skip to content

Expected line error #149

Description

@MostlyKIGuess

Error:

❯ leetcode data -u
[INFO  leetcode_cli::cache] Fetching leetcode problems...
error: error decoding response body: expected value at line 1 column 1, please try again
  • I read through the previous issues and their problem was fixed because they had expired cookies but I tried resetting the cookies and it's still not working.
  • My leetcode.toml:
[code]
editor = 'vim'
lang = 'cpp'
comment_problem_desc = true
# comment syntax
comment_leading = "//"
test = true
inject_before = ["#include<bits/stdc++.h>", "using namespace std;"]
inject_after = ["int main() {\n    Solution solution;\n\n}"]

[cookies]
csrf = 'aslkalskfjlasksjflaskjflaskjflaskjflasjlfkjas'
session = 'laksflkasjflkasjfl.alsflaskfjlaskflashflashflasjhflasjfhlajfhlasjfhlasjfhlasfhlasf.laskjflasjflasjf'

[storage]
cache = 'Problems'
code = 'code'
root = '~/.leetcode'
scripts = 'scripts'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions