EvalAI icon indicating copy to clipboard operation
EvalAI copied to clipboard

[Backend] Returns with code 500 upon submission of wrong URL

Open ShauryaAg opened this issue 3 years ago • 4 comments

Backend returns with code 500 (Internal server error when a file with wrong extension is submitted for a challenge. It should return with 400 (Bad request)

Example: Submitting a .py file URL to a challenge that doesn't accept .py files

If you'd like to report a bug, please include the following information:

  • Expected behaviour It should return with a 400 Bad Request

  • Observed behaviour Server gives a 500 Internal Server Error

  • Steps to reproduce the problem

    1. Choose any challenge
    2. Submit a file URL with .py (or .cpp, etc) extension
    3. Observe the error

Upon submitting a file URL with .py extension image

ShauryaAg avatar Mar 25 '21 12:03 ShauryaAg

@ShauryaAg would you like to work on this issue?

Ram81 avatar Mar 28 '21 12:03 Ram81

Yeah, sure. @Ram81

ShauryaAg avatar Mar 28 '21 13:03 ShauryaAg

Hi can I work on this, the previous if the previous PR is not being worked on ?

PrasanthChettri avatar May 17 '21 13:05 PrasanthChettri

Hey @Ram81, is this issue not solved yet? Though I am a beginner, I would love to solve this issue with some guidance.

tagarwal698 avatar Aug 26 '21 16:08 tagarwal698