C1 W4 assignment 1 :I completed the assignment and cleared all tests. But when I submit the assignment, it gives 0/100 and following:

[ValidateApp | INFO] Validating ‘/home/jovyan/work/submitted/courseraLearner/W4A1/Building_your_Deep_Neural_Network_Step_by_Step.ipynb’
[ValidateApp | ERROR] Traceback (most recent call last):
File “/opt/conda/lib/python3.7/site-packages/nbgrader/preprocessors/checkcellmetadata.py”, line 11, in preprocess
MetadataValidator().validate_nb(nb)
File “/opt/conda/lib/python3.7/site-packages/nbgrader/nbgraderformat/v3.py”, line 107, in validate_nb
raise ValidationError(“Duplicate grade id: {}”.format(grade_id))
jsonschema.exceptions.ValidationError: Duplicate grade id: cell-4d6e09486a53f4c4

[ValidateApp | ERROR] Notebook failed to validate; the nbgrader metadata may be corrupted.
[ValidateApp | ERROR] Traceback (most recent call last):
File “/opt/conda/lib/python3.7/site-packages/nbgrader/apps/validateapp.py”, line 72, in start
validator.validate_and_print(filename)
File “/opt/conda/lib/python3.7/site-packages/nbgrader/validator.py”, line 340, in validate_and_print
results = self.validate(filename)
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.

[ValidateApp | ERROR] nbgrader encountered a fatal error while trying to validate ‘submitted/courseraLearner/W4A1/Building_your_Deep_Neural_Network_Step_by_Step.ipynb’

Update:

  • I opened a new notebook and copied my old code.

  • I was able pass the assignment. :grinning:

Great! Glad to hear you found the solution on your own power. That was what I would have suggested: it looked like something other than the code about the notebook had gotten corrupted somehow.

Then how do you submit the assignment because there is no option of submit assignment

In new notebook there is no option of submit