C2W2 Lab 1 Exercise 3: paginated_with_next_featured_playlists not advancing offsets

When doing Exercise 3, the offset seems not to change at all, resulting in an apparent infinite loop.

I’ve tried using debug-output to see if there’s something wrong with the implementation, but to no avail. What should I be looking for?

The output looks like:

I remember I had the same issue and I fixed it by updating the 1 line of code where its supposed to be updated. If you can share the code block from the cell that runs this, I can remember what I did and let you know

I don’t believe I’m allowed to post the code block itself?

1 Like

in your original post you already did post one of the code blocks haha

post and delete after if you are concerned

That is not one of the code blocks that I have written; it’s one of the test blocks, so there’s no issue there.

That would break the Code of Conduct.

1 Like

Hello,
For future students who might run into the same problem, the test cell for exercise 3 uses the get_featured_playlists method, which we fill in in exercise 1. Therefore, please check for your code for exercise 1 as well and make sure that it is working properly.