Announcements

Help Wizard

Step 1

NEXT STEP

Web API: Endpoint /search returns a URL for "next" that leads to 404

Web API: Endpoint /search returns a URL for "next" that leads to 404

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
0 Replies

Suggested posts