Your cookie may have expired, or LeetCode has temporarily restricted API access #167
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
arduinohatesme/leetcode.nvim#167
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As the title says, I get the error:
Your cookie may have expired, or LeetCode has temporarily restricted API accesswhen I try to run the test cases for a question that I've already attempted. I can however submit the question with no issues.
This happens for 2 already-attempted questions as far as my testing goes (these were both questions I submitted for the first time through the plugin).
Let me know if there is any additional information required from my end.
I'm having the same problem. After putting
debug = trueinoptsand replicating the issue I got status403and apparently a Couldflare challenge.me too. I just sat down to buzz through the problems too :((. great plugin, please fix
update: seems alright now, i let it sit for a moment. theres also this
What exactly helped? And is the main branch working for you now?
thanks for being so active with this plugin, I'm experiencing the same issue today. 338. is not letting me test or submit, however I am able to do so for 260. single-number III.
i've refreshed the token a couple times now and just moved on to the next problem for now. I'm not sure how to generate helpful logs for you
Can you confirm whether you experience the same behavior as described in this issue (excluding the debug part). If so, could you check similar tools to this plugin and let me know if they behave the same way?
so, it's hugely interesting because the error seems contigent on the code that I write!
if I start the code fresh and incrementally build it up again, ensuring I can get a response to
:Leet test, then I'm sweet.currently I am working through 15: 3Sum and this works, whereas wrapping 'combinations_of_3' with list, generate the cookie error:
obviously this isn't the correct logic of the program, but I think your cookie logic is fine! statistics also work great; I'm certainly authenticated.
Yeap, todays daily 1912 seems to have the same issue, if I add some comments inside leetcode start it seems to work but if i remove them i get the error. not sure exactly what in the comment is making it work or not. Adding the comment after
leet startsomehow allows submission. Second example adding parenthesis breaks submission? Probably some parsing issue in the code.Is able to submit:
Not able to submit
What error message do you get? I'm able to submit both of these solutions
I was also encountering this issue with some problems and the underlying cause seems to come from cloudflare. Claude proposed I install
curl-impersonateand so far the issue seem to have subsided after settingvim.g.plenary_curl_bin_path = "curl_chrome136".