Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pick fails to parse 1214 json response. #57

Closed
jay1999ke opened this issue Feb 5, 2022 · 4 comments
Closed

Pick fails to parse 1214 json response. #57

jay1999ke opened this issue Feb 5, 2022 · 4 comments

Comments

@jay1999ke
Copy link

Error thrown:

$ leetcode pick 1214

[1214] Two Sum BSTs is on the run...


json from response parse failed, please open a new issue at: https://github.com/clearloop/leetcode-cli/.```
@bulletmark
Copy link

@jay1999ke why did you close this? Still happens for me.

@hao-lee
Copy link
Contributor

hao-lee commented Feb 22, 2022

1214 is a premium problem, you can't fetch it unless you upgrade your account.

@bulletmark
Copy link

@hao-lee that may be true but it is almost irrelevant to this issue. The error message implies the program is not handling the leetcode response correctly and thus it should be fixed.

We could close this issue then the next new user who comes along and hits this error will likely do exactly what the error message tells him, i.e come here and raise another new bug. Is that what we want?

@hao-lee
Copy link
Contributor

hao-lee commented Feb 23, 2022

@bulletmark Sure 😅 . The ideal error messages should indicate what really happens, although currently this program will report the same json error in many circumstances. Other issues also encountered similar problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants