Web API: Endpoint /search returns a URL for "next" that leads to 404
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Plan
Free
Country
Germany
My Question or Issue
Please see the following curl command:
curl -X "GET" "https://api.spotify.com/v1/search?q=Ope&type=artist&limit=40&offset=1960" -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer MY-TOKEN"
It returns a result with the following data:
"limit": 40,
"next": "https://api.spotify.com/v1/search?query=Ope&type=artist&market=US&offset=2000&limit=40",
"offset": 1960,
"previous": "https://api.spotify.com/v1/search?query=Ope&type=artist&market=US&offset=1920&limit=40",
"total": 4065
If I then call the next URL "https://api.spotify.com/v1/search?query=Ope&type=artist&market=US&offset=2000&limit=40", the endpoint returns 404.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page