<?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 Re: Spotify API not returning correct album info using my App Client ID &amp;amp; Secret in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-API-not-returning-correct-album-info-using-my-App-Client/m-p/5797240#M12149</link>
    <description>&lt;P&gt;I think the issue may be with your query and not your credentials. Can you share the query you're using?&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jan 2024 14:28:09 GMT</pubDate>
    <dc:creator>ZackAttax</dc:creator>
    <dc:date>2024-01-05T14:28:09Z</dc:date>
    <item>
      <title>Spotify API not returning correct album info using my App Client ID &amp; Secret</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-API-not-returning-correct-album-info-using-my-App-Client/m-p/5793706#M12132</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;United States&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any — but especially when coding on my MacBook Air w/ M2 Apple Siclicon Chip, 24 GB of RAM, and Mac OS Sonoma v14.2.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any — but seen when coding on my&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Question or Issue&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hello —&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to code a spotify music app as part of an online video training in using Astro and HTMX (see —&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=C5DHnG8W0ts" target="_blank"&gt;https://www.youtube.com/watch?v=C5DHnG8W0ts&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing this on a MacBook Air w/ an M2 Apple Silicon Chip, 24 GB RAM, and Mac OS Sonoma v14.2.1. You can see the code I've been trying in this GitHub Repository —&amp;nbsp;&lt;A href="https://github.com/faddah/lets-learn-htmx/" target="_blank"&gt;https://github.com/faddah/lets-learn-htmx/&lt;/A&gt;. I have a Spotify Individual Premium account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As part of this, in the&amp;nbsp;&lt;A href="https://developer.spotify.com/dashboard/" target="_blank"&gt;https://developer.spotify.com/dashboard/&lt;/A&gt;&amp;nbsp;portal, I created an app to get a &lt;STRONG&gt;Spotify Developer Client ID &amp;amp; Client Secret&lt;/STRONG&gt; for this app I'm creating.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try and just retrieve album information on an artist, instead fo getting an artist and their albums like "The Beatles," "The Rolling Stones," "Beyoncé" or "Lissie," it comes back with a bunch of generic data, with the Artists' name saying it's —&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;"name": "Capstan",&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... instead of the artist I was searching for, like "The Beatles," etc. (see attached Screen Shot).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have tried deleting the App I created in the&amp;nbsp;&lt;A href="https://developer.spotify.com/dashboard/" target="_blank"&gt;https://developer.spotify.com/dashboard/&lt;/A&gt;&amp;nbsp;portal and re-creating it to get a new Spotify Developer Client ID &amp;amp; Secret and then swapping out the new ones of those for what was in my `.env` file in my project. I restarted my Astro dev server and tried again to search for popular artists, but got the same result with `Capstan` for the artist name.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you could please help me out with this blocking issue as to why I'm not getting back any real artist information from Spotify on this, even with a Spotify Individual Premium account and a Spotify Developer Client ID &amp;amp; Secret, I would be very grateful.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;best,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;faddah wolf&lt;BR /&gt;portland, oregon, u.s.a.&lt;BR /&gt;GitHub repository for this code: &lt;A href="https://github.com/faddah/lets-learn-htmx/" target="_blank"&gt;https://github.com/faddah/lets-learn-htmx/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 22:43:15 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-API-not-returning-correct-album-info-using-my-App-Client/m-p/5793706#M12132</guid>
      <dc:creator>faddah</dc:creator>
      <dc:date>2024-01-03T22:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Spotify API not returning correct album info using my App Client ID &amp; Secret</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-API-not-returning-correct-album-info-using-my-App-Client/m-p/5797240#M12149</link>
      <description>&lt;P&gt;I think the issue may be with your query and not your credentials. Can you share the query you're using?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 14:28:09 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-API-not-returning-correct-album-info-using-my-App-Client/m-p/5797240#M12149</guid>
      <dc:creator>ZackAttax</dc:creator>
      <dc:date>2024-01-05T14:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Spotify API not returning correct album info using my App Client ID &amp; Secret</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-API-not-returning-correct-album-info-using-my-App-Client/m-p/5797897#M12152</link>
      <description>&lt;P&gt;Hello &lt;A href="https://community.spotify.com/t5/user/viewprofilepage/user-id/26048063" target="_self"&gt;ZackAttax&lt;/A&gt;&amp;nbsp;— thank you very much for responding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As stated in my original query, the code for this can be found in my GitHub repository, here &lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_right:"&gt;👉&lt;/span&gt;&amp;nbsp;&lt;A href="https://github.com/faddah/lets-learn-htmx/" target="_blank"&gt;https://github.com/faddah/lets-learn-htmx/&lt;/A&gt;. the code calling it is in &lt;FONT face="andale mono,times"&gt;src/pages/songs.astro&lt;/FONT&gt; file, which imports the &lt;FONT face="andale mono,times"&gt;getAlbums()&lt;/FONT&gt; function from the &lt;FONT face="andale mono,times"&gt;src/lib/spotify.ts&lt;/FONT&gt; file. And again, you watch Jason &amp;amp; Jack implement this code in the instructional video, at this time point&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_right:"&gt;👉&lt;/span&gt;&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=C5DHnG8W0ts&amp;amp;t=36m45s" target="_blank"&gt;https://www.youtube.com/watch?v=C5DHnG8W0ts&amp;amp;t=36m45s&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does that help and is that what you're looking for? I do appreciate the help and would like to get this resolved and get back to continuing the instructional / tutorial video. Please let me know and thank you again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;faddah wolf&lt;BR /&gt;portland, oregon, u.s.a.&lt;BR /&gt;GitHub repository for this code:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/faddah/lets-learn-htmx/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/faddah/lets-learn-htmx/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 20:01:38 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-API-not-returning-correct-album-info-using-my-App-Client/m-p/5797897#M12152</guid>
      <dc:creator>faddah</dc:creator>
      <dc:date>2024-01-05T20:01:38Z</dc:date>
    </item>
  </channel>
</rss>

