Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Search - missing results

Search - missing results

I am building an app where you search for albums by artist and / or album name.

Most queries work as expected. But I have a case where using Spotify console I get correct results but the same query in my app returns completely different. 

 

Developer console returns correct:

https://developer.spotify.com/console/get-search-item/?q=artist:nationalteatern&type=album

 

Query in my app (.NET) returns only three results. 

https://api.spotify.com/v1/search?q=artist%3Anationalteatern&type=album

 Any theories?

Reply
3 Replies

Hi!

As you are not providing a market for this query, it might be getting it from the user's the access token belongs to, and maybe there's only 3 albums available on that market. For us, our default market is US.

Hi!
Thanks for your response, this was indeed the issue. Is it possible to somehow specify "all" ?

No. As we are willing to provide only available content to the user.

Suggested posts

Staff
Let's introduce ourselves!

Hey there you, ย  Yeah, you!ย 😁 ย  Welcome - we're glad you joined the Spotify Community! ย  While you here, let's have a fun game and getโ€ฆ

Staff
ModeratorStaff / Moderator/ 3 years ago  in Social & Random