Need help? Check out Spotify Answers for solutions to a wide range of topics. |
My Question or Issue
Issue found on Apr 24th 2020.
Endpoint(s):
Scope(s):
Steps to reproduce:
curl -X "GET" "https://api.spotify.com/v1/artists/7heucQ89tyr0QHnwB4QO4j" -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer xxxx"
Expected behaviour:
The ratio of all images is 1:1, and the actual width and height of image is same.
Actual behaviour:
The ratio of all images is 1:1, but the actual width and height of image is different.
For example, the first image size is : width(361) * height(640)
{ "external_urls" : { "spotify" : "https://open.spotify.com/artist/7heucQ89tyr0QHnwB4QO4j" }, "followers" : { "href" : null, "total" : 26 }, "genres" : [ ], "href" : "https://api.spotify.com/v1/artists/7heucQ89tyr0QHnwB4QO4j", "id" : "7heucQ89tyr0QHnwB4QO4j", "images" : [ { "height" : 640, "url" : "https://i.scdn.co/image/6456bbf9ddfb47b9ea40d1206d208013aa84d372", "width" : 640 }, { "height" : 320, "url" : "https://i.scdn.co/image/142c8c7c2520663cfb7a1666a8098cf23003a389", "width" : 320 }, { "height" : 160, "url" : "https://i.scdn.co/image/b8bcb2be4f5fa71ec7ce88659ca7452a543375eb", "width" : 160 } ], "name" : "Dapper Spider and The Moth Man", "popularity" : 1, "type" : "artist", "uri" : "spotify:artist:7heucQ89tyr0QHnwB4QO4j" }
Image of first thumbnail which suppose to be in 640 x 640 dimension
first thumbnail
SImilar issue was discussed in github: https://github.com/spotify/web-api/issues/1552