Week4: Assignment submission validate error

All the outputs from notebook are all tested good, but every time I submitted my notebook, it gives 0/100, and showing this validating error. Any ideas?

[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
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-ddc3a524cd1a0782

[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
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’

im also getting this on jupyter

Hi @Mubsi is this a known issue with Coursera submissions?

Yes, @albertovilla, there’s seems to be something wrong with the “validation”. Can you put this post up as an issue ? I’ll take a look at it in a bit. Thanks.

I have the same problem too

Hey @box7boxer, can you share your grader output so we could help you better ? Thank you.

Any update about this issue?

Hey @bigballerbing , the error specifies that the metadata is corrupted. From what I have seen happen with other students with this exact error is that they unknowingly change some code in the assignment which they shouldn’t have had.

So I would recommend the same to you.

SAVE YOUR WORK ON YOUR LOCAL MACHINE, or rename your assignment file, and then get a fresh copy of the assignment form the “Help” menu on the top right. After getting the fresh copy, fill it using your solutions from your previous copy and then try submitting.

Let me know how it goes.

It worked! Appreciate your help @Mubsi , thanks a lot!

1 Like

My apologise for not recommending this before. I must have been distracted with other issues.

Happy learning!