Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7563789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:45:16+00:00 2026-05-30T13:45:16+00:00

I am having trouble geting artist images in the Spotify Apps API. The image

  • 0

I am having trouble geting artist images in the Spotify Apps API. The image property of the Artist object is mostly returning as null or undefined. This is the case whether I get the artist directly from a collection of artists (such as from sp.core.library.getArtists()) or if
I use Artist.fromURI and use a callback function.

Here is an example of the sort of thing I am doing:

var m = sp.require('sp://import/scripts/api/models');
var a = m.Artist.fromURI(uri, function(artist) { 
    console.log(artist.name + " " + artist.image);
});

Looking in the console I see the artist name, but a null or undefined image.

Sometimes if I start Spotify and go to the artists page before starting my app, the image will be populated but later it will become null again.

Am I missing anything, or could this be a bug in the API?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T13:45:18+00:00Added an answer on May 30, 2026 at 1:45 pm

    The solution is that spotify seems to have just some artist pictures. If you query the api, it is true that there is no artist picture. But if you browser the artist page, spotify has implemented an own fallback to query for a album picture as artist picture. This picture is then saved as the artists picture, for caching reasons. So the solution might be to do the same and query an album picture as fallback.

    Using the sp.core method is not recommended, as someone at spotify told me in irc.

    [edit]
    Also, if you use the sp.core it seems that you get error messages in your console like ‘Application xxx is not allowed to yyy’

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having trouble getting the CanExecute method of my command to work property. I've
Having trouble geting the encoding right in my silverlight application. I need support for
I am having trouble getting the contents of JSON object from a JQery.ajax call.
im having trouble getting a string (containing a URL) from one activity to another.
Im having trouble getting my JTable that im using to display either check boxes
I'm having trouble getting Tire working using ElasticSearch with the Bonsai addon on the
I'm currently having trouble getting example code for using tweepy to access Twitter's Streaming
I'm having trouble getting Japanese text to display properly on a website compiled using
I'm having trouble getting the server to recognize a JSON POST request since I
I'm having trouble getting through the linking phase in my C++ program due to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.