<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Get Artist reference bug - receiving Float instead of Int in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-Artist-reference-bug-receiving-Float-instead-of-Int/m-p/5800203#M12166</link>
    <description>&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Free/Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Poland&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(iOS 10, Android&amp;nbsp;Oreo, Windows 10,etc.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;BR /&gt;I'm currently creating an app that uses Spotify Web API.&amp;nbsp;&lt;BR /&gt;While using the "Get Artist" reference, I get JSON response that is not compatible with the Spotify Web API documentation.&lt;BR /&gt;&lt;BR /&gt;In the documentation, it is said that field "followers.total" is integer, but I'm getting float. The same issue appears in fields: popularity, images.height, images.width&lt;BR /&gt;&lt;BR /&gt;Example of "Get Artist" request:&lt;BR /&gt;curl --request GET \&lt;BR /&gt;--url &lt;A href="https://api.spotify.com/v1/artists/0C8ZW7ezQVs4URX5aX7Kqx" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/artists/0C8ZW7ezQVs4URX5aX7Kqx&lt;/A&gt; \&lt;BR /&gt;--header 'Authorization: Bearer ...'&lt;BR /&gt;&lt;BR /&gt;Response:&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;"external_urls": {&lt;BR /&gt;"spotify": "&lt;A href="https://open.spotify.com/artist/0C8ZW7ezQVs4URX5aX7Kqx" target="_blank" rel="noopener"&gt;https://open.spotify.com/artist/0C8ZW7ezQVs4URX5aX7Kqx&lt;/A&gt;"&lt;BR /&gt;},&lt;BR /&gt;"followers": {&lt;BR /&gt;"href": null,&lt;BR /&gt;"total": 4.7397795E7&lt;BR /&gt;},&lt;BR /&gt;"genres": [&lt;BR /&gt;"pop",&lt;BR /&gt;"post-teen pop"&lt;BR /&gt;],&lt;BR /&gt;"href": "&lt;A href="https://api.spotify.com/v1/artists/0C8ZW7ezQVs4URX5aX7Kqx" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/artists/0C8ZW7ezQVs4URX5aX7Kqx&lt;/A&gt;",&lt;BR /&gt;"id": "0C8ZW7ezQVs4URX5aX7Kqx",&lt;BR /&gt;"images": [&lt;BR /&gt;{&lt;BR /&gt;"url": "&lt;A href="https://i.scdn.co/image/ab6761610000e5eb0c8eb928813cd06614c0710d" target="_blank" rel="noopener"&gt;https://i.scdn.co/image/ab6761610000e5eb0c8eb928813cd06614c0710d&lt;/A&gt;",&lt;BR /&gt;"height": 640.0,&lt;BR /&gt;"width": 640.0&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"url": "&lt;A href="https://i.scdn.co/image/ab676161000051740c8eb928813cd06614c0710d" target="_blank" rel="noopener"&gt;https://i.scdn.co/image/ab676161000051740c8eb928813cd06614c0710d&lt;/A&gt;",&lt;BR /&gt;"height": 320.0,&lt;BR /&gt;"width": 320.0&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"url": "&lt;A href="https://i.scdn.co/image/ab6761610000f1780c8eb928813cd06614c0710d" target="_blank" rel="noopener"&gt;https://i.scdn.co/image/ab6761610000f1780c8eb928813cd06614c0710d&lt;/A&gt;",&lt;BR /&gt;"height": 160.0,&lt;BR /&gt;"width": 160.0&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"name": "Selena Gomez",&lt;BR /&gt;"popularity": 82.0,&lt;BR /&gt;"type": "artist",&lt;BR /&gt;"uri": "spotify:artist:0C8ZW7ezQVs4URX5aX7Kqx"&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 08 Jan 2024 14:17:04 GMT</pubDate>
    <dc:creator>ouchang</dc:creator>
    <dc:date>2024-01-08T14:17:04Z</dc:date>
    <item>
      <title>Get Artist reference bug - receiving Float instead of Int</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-Artist-reference-bug-receiving-Float-instead-of-Int/m-p/5800203#M12166</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Free/Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Poland&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(iOS 10, Android&amp;nbsp;Oreo, Windows 10,etc.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;BR /&gt;I'm currently creating an app that uses Spotify Web API.&amp;nbsp;&lt;BR /&gt;While using the "Get Artist" reference, I get JSON response that is not compatible with the Spotify Web API documentation.&lt;BR /&gt;&lt;BR /&gt;In the documentation, it is said that field "followers.total" is integer, but I'm getting float. The same issue appears in fields: popularity, images.height, images.width&lt;BR /&gt;&lt;BR /&gt;Example of "Get Artist" request:&lt;BR /&gt;curl --request GET \&lt;BR /&gt;--url &lt;A href="https://api.spotify.com/v1/artists/0C8ZW7ezQVs4URX5aX7Kqx" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/artists/0C8ZW7ezQVs4URX5aX7Kqx&lt;/A&gt; \&lt;BR /&gt;--header 'Authorization: Bearer ...'&lt;BR /&gt;&lt;BR /&gt;Response:&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;"external_urls": {&lt;BR /&gt;"spotify": "&lt;A href="https://open.spotify.com/artist/0C8ZW7ezQVs4URX5aX7Kqx" target="_blank" rel="noopener"&gt;https://open.spotify.com/artist/0C8ZW7ezQVs4URX5aX7Kqx&lt;/A&gt;"&lt;BR /&gt;},&lt;BR /&gt;"followers": {&lt;BR /&gt;"href": null,&lt;BR /&gt;"total": 4.7397795E7&lt;BR /&gt;},&lt;BR /&gt;"genres": [&lt;BR /&gt;"pop",&lt;BR /&gt;"post-teen pop"&lt;BR /&gt;],&lt;BR /&gt;"href": "&lt;A href="https://api.spotify.com/v1/artists/0C8ZW7ezQVs4URX5aX7Kqx" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/artists/0C8ZW7ezQVs4URX5aX7Kqx&lt;/A&gt;",&lt;BR /&gt;"id": "0C8ZW7ezQVs4URX5aX7Kqx",&lt;BR /&gt;"images": [&lt;BR /&gt;{&lt;BR /&gt;"url": "&lt;A href="https://i.scdn.co/image/ab6761610000e5eb0c8eb928813cd06614c0710d" target="_blank" rel="noopener"&gt;https://i.scdn.co/image/ab6761610000e5eb0c8eb928813cd06614c0710d&lt;/A&gt;",&lt;BR /&gt;"height": 640.0,&lt;BR /&gt;"width": 640.0&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"url": "&lt;A href="https://i.scdn.co/image/ab676161000051740c8eb928813cd06614c0710d" target="_blank" rel="noopener"&gt;https://i.scdn.co/image/ab676161000051740c8eb928813cd06614c0710d&lt;/A&gt;",&lt;BR /&gt;"height": 320.0,&lt;BR /&gt;"width": 320.0&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"url": "&lt;A href="https://i.scdn.co/image/ab6761610000f1780c8eb928813cd06614c0710d" target="_blank" rel="noopener"&gt;https://i.scdn.co/image/ab6761610000f1780c8eb928813cd06614c0710d&lt;/A&gt;",&lt;BR /&gt;"height": 160.0,&lt;BR /&gt;"width": 160.0&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"name": "Selena Gomez",&lt;BR /&gt;"popularity": 82.0,&lt;BR /&gt;"type": "artist",&lt;BR /&gt;"uri": "spotify:artist:0C8ZW7ezQVs4URX5aX7Kqx"&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 Jan 2024 14:17:04 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Get-Artist-reference-bug-receiving-Float-instead-of-Int/m-p/5800203#M12166</guid>
      <dc:creator>ouchang</dc:creator>
      <dc:date>2024-01-08T14:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Get Artist reference bug - receiving Float instead of Int</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-Artist-reference-bug-receiving-Float-instead-of-Int/m-p/5800321#M12167</link>
      <description>&lt;P&gt;Yeah same here but with the GETARTISTS endpoint, i though it was my code but i havent change it in a week (and last week it worked), examples:&amp;nbsp;1.6188865E7,1514630.0,&amp;nbsp;{"artists":[{"external_urls":{"spotify":"&lt;A href="https://open.spotify.com/artist/6U3ybJ9UHNKEdsH7ktGBZ7" target="_blank"&gt;https://open.spotify.com/artist/6U3ybJ9UHNKEdsH7ktGBZ7&lt;/A&gt;"},"followers":{"href":null,"total":1514630.0},"genres":["hip hop","pop rap","rap","underground hip hop"],"href":"&lt;A href="https://api.spotify.com/v1/artists/6U3ybJ9UHNKEdsH7ktGBZ7" target="_blank"&gt;https://api.spotify.com/v1/artists/6U3ybJ9UHNKEdsH7ktGBZ7&lt;/A&gt;","id":"6U3ybJ9UHNKEdsH7ktGBZ7","images":[{"url":"&lt;A href="https://i.scdn.co/image/ab6761610000e5eb10781f7b76a5eb0d397e02c9" target="_blank"&gt;https://i.scdn.co/image/ab6761610000e5eb10781f7b76a5eb0d397e02c9&lt;/A&gt;","height":640.0,"width":640.0},{"url":"&lt;A href="https://i.scdn.co/image/ab6761610000517410781f7b76a5eb0d397e02c9" target="_blank"&gt;https://i.scdn.co/image/ab6761610000517410781f7b76a5eb0d397e02c9&lt;/A&gt;","height":320.0,"width":320.0},{"url":"&lt;A href="https://i.scdn.co/image/ab6761610000f17810781f7b76a5eb0d397e02c9" target="_blank"&gt;https://i.scdn.co/image/ab6761610000f17810781f7b76a5eb0d397e02c9&lt;/A&gt;","height":160.0,"width":160.0}],"name":"JID","popularity":78.0,"type":"artist","uri":"spotify:artist:6U3ybJ9UHNKEdsH7ktGBZ7"},{"external_urls":{"spotify":"&lt;A href="https://open.spotify.com/artist/1URnnhqYAYcrqrcwql10ft" target="_blank"&gt;https://open.spotify.com/artist/1URnnhqYAYcrqrcwql10ft&lt;/A&gt;"},"followers":{"href":null,"total":1.6188865E7},"genres":["atl hip hop","hip hop","rap"],"href":"&lt;A href="https://api.spotify.com/v1/artists/1URnnhqYAYcrqrcwql10ft" target="_blank"&gt;https://api.spotify.com/v1/artists/1URnnhqYAYcrqrcwql10ft&lt;/A&gt;","id":"1URnnhqYAYcrqrcwql10ft","images":[{"url":"&lt;A href="https://i.scdn.co/image/ab6761610000e5eb35ca7d2181258b51c0f2cf9e" target="_blank"&gt;https://i.scdn.co/image/ab6761610000e5eb35ca7d2181258b51c0f2cf9e&lt;/A&gt;","height":640.0,"width":640.0},{"url":"&lt;A href="https://i.scdn.co/image/ab6761610000517435ca7d2181258b51c0f2cf9e" target="_blank"&gt;https://i.scdn.co/image/ab6761610000517435ca7d2181258b51c0f2cf9e&lt;/A&gt;","height":320.0,"width":320.0},{"url":"&lt;A href="https://i.scdn.co/image/ab6761610000f17835ca7d2181258b51c0f2cf9e" target="_blank"&gt;https://i.scdn.co/image/ab6761610000f17835ca7d2181258b51c0f2cf9e&lt;/A&gt;","height":160.0,"width":160.0}],"name":"21 Savage","popularity":89.0,"type":"artist","uri":"spotify:artist:1URnnhqYAYcrqrcwql10ft"},{"external_urls":{"spotify":"&lt;A href="https://open.spotify.com/artist/3IJ21966TwNZI24MwZHMu4" target="_blank"&gt;https://open.spotify.com/artist/3IJ21966TwNZI24MwZHMu4&lt;/A&gt;"},"followers":{"href":null,"total":420289.0},"genres":["trap queen"],"href":"&lt;A href="https://api.spotify.com/v1/artists/3IJ21966TwNZI24MwZHMu4" target="_blank"&gt;https://api.spotify.com/v1/artists/3IJ21966TwNZI24MwZHMu4&lt;/A&gt;","id":"3IJ21966TwNZI24MwZHMu4","images":[{"url":"&lt;A href="https://i.scdn.co/image/ab6761610000e5ebe7b0d119183e74ec390d7aec" target="_blank"&gt;https://i.scdn.co/image/ab6761610000e5ebe7b0d119183e74ec390d7aec&lt;/A&gt;","height":640.0,"width":640.0},{"url":"&lt;A href="https://i.scdn.co/image/ab67616100005174e7b0d119183e74ec390d7aec" target="_blank"&gt;https://i.scdn.co/image/ab67616100005174e7b0d119183e74ec390d7aec&lt;/A&gt;","height":320.0,"width":320.0},{"url":"&lt;A href="https://i.scdn.co/image/ab6761610000f178e7b0d119183e74ec390d7aec" target="_blank"&gt;https://i.scdn.co/image/ab6761610000f178e7b0d119183e74ec390d7aec&lt;/A&gt;","height":160.0,"width":160.0}],"name":"Baby Tate","popularity":73.0,"type":"artist","uri":"spotify:artist:3IJ21966TwNZI24MwZHMu4"}]}&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jan 2024 23:04:13 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Get-Artist-reference-bug-receiving-Float-instead-of-Int/m-p/5800321#M12167</guid>
      <dc:creator>Testf45rgf5rg</dc:creator>
      <dc:date>2024-01-06T23:04:13Z</dc:date>
    </item>
  </channel>
</rss>

