C2_W2_Assignment API Endpoint with offset don't work

Hello.

In section 2.3 Pagination get_featured_playlist function don’t work properly using custom offset (the function always uses a value of offset=0, but i was debugging code and url with the offset != 0 is correctly passed to request.get method, then is confusing :face_with_spiral_eyes:)

Anyone has the same problem?

Hello @farayal,
The issue with the offset could be related with exercise 1 when you assign url to request_url. Could you check the get_featured_playlists function if you used url instead. Thanks

1 Like

Thanks @Georgios. I was a Layer 8 error :sweat_smile:

1 Like