CodePal icon indicating copy to clipboard operation
CodePal copied to clipboard

Error when opening the problem list

Open qxforever opened this issue 3 years ago • 7 comments

Yesterday, I recieved Cannot read property 'length' of undefined. Is this a bug or a problem with my local settings?

qxforever avatar Oct 06 '21 15:10 qxforever

Hi, I've encountered this before, but i cant exactly recall when. I remember that it was'nt a bug as such. It would help if you could share when exactly you recieved this message ?

adityachirania avatar Oct 08 '21 12:10 adityachirania

Hi, I've encountered this before, but i cant exactly recall when. I remember that it was'nt a bug as such. It would help if you could share when exactly you recieved this message ?

For example, when I click CONTESTS -> Future, then it is stuck and I receive the message Cannot read property 'length' of undefined. The Future column is still empty.

But everything is right today, I don't think I made any changes.

qxforever avatar Oct 08 '21 14:10 qxforever

Hey so i got it. This could happen in 2 circumstances:

  1. If your internet connection is off. Then no response would be recieved from the api calls so it returns that error.
  2. The codeforces server is down. Then also no response would be recieved so this issue would be thrown. We'll improve the error message for this is upcoming release. Thanks for informing.

adityachirania avatar Oct 08 '21 14:10 adityachirania

Hello, how can I solve this problem? It can be used normally in the previous two weeks....

isther avatar Nov 29 '21 05:11 isther

Hey i have mentioned the possible reasons above.. Are you sure you werent facing any such issue?

adityachirania avatar Nov 29 '21 06:11 adityachirania

Hey i have mentioned the possible reasons above.. Are you sure you werent facing any such issue?

Acutally I received this message too these days. I'm sure my internet conntection and Codeforces server works well. Is it possible that the Codeforces API was disabled?

qxforever avatar Nov 29 '21 08:11 qxforever

Yeah i remember the problemset api wasnt working a few days ago.. Even some other apis may have stopped working temporarily.. Anyways i think this is a temporary issue and should get resolved soon

adityachirania avatar Nov 29 '21 08:11 adityachirania