C2W2A1 offset parameter not changing

Hello!

I am currently working on C2W2 Lab1. I am not quite sure what is going on but the offset parameter does not increase for me even though I have been following the notebook step by step. I have tried to rotate my Spotify Client secret but it does not seem to be working. Also, I am not sure if this would affect anything but I attempted this lab 24 hours ago and could not finish it. I let the session expire and only came back to it now (2 hours ago). I initially used the same Client ID and secret but when it failed I tried to rotate the Client secret hoping it would work but still nothing has changed.

The main problem I’m facing is for the cell with expected output offset = 0, 20, 40…, 80, I am constantly getting 0, 0, 0, … . Can any staff help me out? I’ve seen the post C2W2 Lab 1 Exercise 3: paginated_with_next_featured_playlists not advancing offsets - #4 by Ivan_Ivanov but my problem seems to be happening before Exercise 3? Thank you!

I am a fool, did not notice the difference between url and request_url :sweat_smile: cost of doing this lab after a long day at work :smiling_face_with_tear:

This response is not clear to me. I too, am stuck on Exercise 3 of C2W2. I made changes in exactly as requested (didn’t want to change where the exercise does not request editing). No increment in counter… What is going on? Do I need to change url to request_url? Please clarify.
Thanks in advance!

Hello @sgeletta,

Yes you need to use the correct url in exercise 1 get_new_releases and use url = request_url in the part when you : Perform a get() request using the request_url and headers. If you hardcode it your offset wont update. Hope it helps

Got it! Thanks!

1 Like