C2W3_Assignment: NoneType doesn't have 'outputs' error

Hi, I am having trouble with my notebook. I managed to pass the assignment by doing 10/12 exercises and putting the “# grade up to here” in the preprocessing_fn cell. If I put it anywhere below that, it gives a 0 saying “There was a problem compiling the code from your notebook. Details:
‘NoneType’ object has no attribute ‘outputs’”. I have had a lot of trouble with the grader of this assignment.

Please check notebook metadata and refresh the workspace if required / in doubt. If that doesn’t help, please click my name and message your notebook as an attachment.

It would help if you shared the notebook with the #grade up to here marker via direct message.

I am also having the same problem but the message the come with mine is ;
There was a problem compiling the code from your notebook. Details:
unhashable type: ‘list’

If the error happens in the learner coursera environment, please fix this. A python list is indeed unhashable.

If this happens only when grading, check notebook metadata and refresh the workspace if required / in doubt. If that doesn’t help, click my name and message your notebook as an attachment.