All test cases passed but grade shows 0

There was an error running the validate command:

Traceback (most recent call last):
File “/opt/conda/lib/python3.7/site-packages/nbgrader/server_extensions/validate_assignment/handlers.py”, line 46, in validate_notebook
result = validator.validate(fullpath)
File “/opt/conda/lib/python3.7/site-packages/nbgrader/validator.py”, line 311, in validate
nb = self._preprocess(nb)
File “/opt/conda/lib/python3.7/site-packages/nbgrader/validator.py”, line 290, in _preprocess
nb, resources = pp.preprocess(nb, resources)
File “/opt/conda/lib/python3.7/site-packages/nbgrader/preprocessors/checkcellmetadata.py”, line 16, in preprocess
raise ValidationError(msg)
jsonschema.exceptions.ValidationError: Notebook failed to validate; the nbgrader metadata may be corrupted.

That’s the key message. Your notebook does not contain the metadata that the grader requires.

You may have to delete your current assignment files and start over.