Hello,
I keep getting 0 score on the following:
- Paginated Featured Playlists Response Output
- Paginated with Next Featured Playlists
In the submission report, the following tests fail:
- Test 3 failed: Response output after Exercise 2 should be in JSON format. Please try again.
- Test 4 failed: Response output after Exercise 3 should be in JSON format. Please try again.
Everything runs well appart from these tests.
Thank you!
Hello @Francisco_Machado,
Could you save ctrl + S the notebook and then upload the files. If you have issues saving that might be the reason. The grader checks the output after exercise 3 for those test cases. Hope it helps
Thanks for the response @Georgios,
I do not have issues saving, my notebook is stored in s3, it was successfully uploaded.
Hello @Francisco_Machado,
I couldn’t reproduce the issue since uploading the notebook after completing Exercise3 got the expected output (pass with 80/100):
responses_with_next[0]
should output a json Format (same output like the other two outputs before (
releases_response.get('albums').get('items')[0]
and
responses[0]
) . For some reason Test 3 and Test 4 cases will always fail or pass together in this part of the lab. Also one thing I noticed is after I received full marks the grade didn’t update anymore. Hope it helps
Doing the lab up to exercise 3 worked. I got 80/100 as you said. But please bring the issue to your team, it cost me a lot of time.
@Francisco_Machado,
Glad it fixed, could you continue with the other exercises to get full marks. Should work now after you got the correct outputs. Someone had the same issue and will consider it. Thanks
I had the same issue as the OP. I spent about 30 minutes trying to resolve this issue. Feels like the test cases should be more consistent.
Hello @schlenkerc72,
Thanks for bringing this up, after an update, the get_playlists
was absolute, and the team did a workaround and used get_new_releases
instead. That might the reason that broke the grader and hopefully the team will find a better solution once it is finalized. Thank you
Hello @mayankj7,
Yes, the team had to make some adjustments in this lab after some functions removed from the Spotify. That affected somehow the grader and a newer version at Coursera might fix it 100%. Thank you