Grading Failed Error on submitting notebook

  • Grader Error: Grader feedback not found

Visit the Discussion forum to see if your peers are experiencing or have found resolutions for similar errors. If the error isn’t resolved in 24 hours, please reach out to Coursera through our Help Center.

I double-checked for print statements already and there are no additional ones.

I am not an NLP mentor, but the notebook mechanisms are the same as in DLS. When I’ve seen students with that error in DLS, it means that there is something structurally wrong with the notebook. Have you used any external tools other than the course website to modify the notebook? The notebooks are JSON files and there is a lot of hidden code that the grader uses and it looks like some of that has been modified or damaged.

My suggestion would be to try getting a clean copy of the notebook and then carefully “copy/paste” over just your completed code from the “YOUR CODE HERE” segments and see if that helps with this error.

Here’s the “clean copy” procedure from DLS, but it’s the same in NLP.

Hi Paulin, I tried the clean copy and seems grader could grade all except the last assignment. Here’s the error I get for that:
There was a problem grading your submission. Check stderr for more details.

Can you please check? My lab ID is: wihywyztnryo

Great! So you’ve solved the “no grader output” problem and it must have been some kind of corruption. Now you’re down to a case in which the grader does not accept your solution. I’m not a mentor for NLP, so I can’t help with course specific questions. Also note that the mentors do not have the super power (even NLP mentors) to directly view anyone else’s notebook. Only the course staff can do that and they are generally too busy to be listening here.

All I can say is to offer the general observation that if you pass the tests in the notebook, but fail the grader, that means your code is not “general” in some way. That happens all the time in DLS and the most common causes are things like hard-coding assumptions about the dimensions of the inputs or referencing global variables within the scope of your functions. Things like that will work in the notebook, but then fail when the grader uses a different test case in a different environment. So look again carefully at the function that fails the grader with the idea of non-generality in mind.

If that doesn’t yield any results, then the only hope is that one of the NLP mentors will notice your thread.

1 Like

Hi @Rama_Mahajanam

You can download your Assignment notebook and private message it to me. I will try to help.


Hi @Rama_Mahajanam,

You are most likely using a global variable in your last exercise. Check for that.


I have the same error. Tried submitting initial notebook without any edits and the error is different: “The notebook you provided has a syntax error that prevents it from compiling.”. But it can not be since I did not modify anything. Could you help?

I’m not an NLP mentor and can’t see that notebook, but in general it is not a valid assumption that a clean notebook will submit to the grader without syntax errors. You need to look at the code. E.g. try “Cell → Run All” and then scan through and I’ll bet you find a syntax error because of the way they structured the template code that requires you to add some code.