C2_W3 An unknown error happened

Hello,

I’m having trouble submitting the assignment and keep encountering errors.

When I submit Exercise 1, I receive the following error message:

An unknown error has occurred: {“typeName”:“”,“code”:“task_failed”,“description”:“Task failed.”}. Please try submitting again. If the problem still persists, please reach out to Coursera via our Help Center.

For Exercise 5, the submission fails with this message:

Failed test case: Incorrect output in ‘ex05’: Number of lines do not match.
Expected: 6 lines, but got: 0 lines.

I have already tried the following:

  • Resetting the notebook to the original starter code

  • Re-running all cells from top to bottom

  • Making sure no extra print statements or output were added

  • Submitting multiple times after restarting the kernel

However, the issue still persists. Could this be a platform-related issue, or is there something specific I should check in my notebook setup or output format?

Any guidance would be greatly appreciated. Thank you very much!

Hello Dami_Huh,

Welcome to the community! Sorry for the technical issues you’re facing. The “grading failed” error is likely a platform issue. Have you tried reaching out to Coursera via the Help Center?

For the failed test case, can you confirm that the output in ex05 is actually generating the expected number of lines when you run it?