Issue with uploading code as file

Describe your bug

When i first upload code as a file in the editor, it works completely fine . But say i get a wrong submission and i make some changes in my local editor(VS Code) and i again try to upload code as file ( after compiling and saving) the code doesn’t upload. More precisely, the old code stays as it is.
This issue mainly happens with JAVA and not cpp.
Any suggestions would be greatly helpful ( except for changing language LOL).


Additional info

Hey @ujjwala0001 , I tried to reproduce the bug, but the new code gets updated in the editor every time. Will you be able to share a screen recording?

Hello, this is Gulshan Negi.
Well, to resolve this issue, you can follow the below steps.

  1. Clear your browser’s cache.
  2. Update your editors, such as Visual Studio Code or other editors.
  3. Verify that the file encoding of your code file is consistent and compatible with the platform.
    I hope it will help you.
1 Like

I have the recording , but i cannot upload here since i believe the format is not supported. If you are a codechef official , please tell how can i send you.

@ujjwala0001 Please mail at

I have emailed, please check.

it has happened with me also…during contest and i use cpp