Help Wizard

Step 1

NEXT STEP

Spaces in pagination next url

Spaces in pagination next url

Hi there,

When loading a user library items (albums, playlists, songs), the url to the next page of items includes spaces that can break implementations where these spaces create a malformed url—for example, in Swift, URL(string: next) fails if the spaces are present.

Some next strings I receive for example are:
https://api.spotify.com/v1/me/tracks?offset=50&limit=50&locale=en-US;q=1.0, es-US;q=0.9, de-US;q=0.8

https://api.spotify.com/v1/me/tracks?offset=50&limit=50&locale=zh-Hans-CN;q=1.0, en-CN;q=0.9

Reply
0 Replies

Suggested posts