I’m experiencing a problem with the lab exercise for Batch Ingestion in Week 2. Despite multiple attempts (this is my third try), I keep encountering the same issue.
LAB: #Graded Programming Assignment 2: Batch Data Processing from an API
I’ve carefully executed the command as specified in the instructions provided, but the response does not match what is expected. Instead, the output significantly differs from the example shown, affecting the rest of the activity.
This issue impacts the rest of the activity. In this step, for example, all the code is correct.
For instance, although my code is correct in this step, the request fails to update the information properly. As a result, the output shows a loop because the offset parameter does not increment as it should.
Hello @paniJc,
Could you check in exercise 1 get_featured_playlists,
that you are correctly using: Perform a GET request using the request_url and headers.
If you use url instead the offset will not increase and 0 update in the following cells. Thanks
Yes @paniJc I understand trying so many times but its a common mistake in exercise 1. Most of the mistakes is not using url=request_url but since thats not the case we could check other parts. I could try to reproduce next is not None and previous-url and its the other way around. It could be related to the other function (exercise 2)with the while loop that updates the offset and get back to you. Thanks!