<?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 https://api.spotify.com/v1/me errors aren't handled by nodejs SDK properly. in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/https-api-spotify-com-v1-me-errors-aren-t-handled-by-nodejs-SDK/m-p/6501981#M15493</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I've been using the nodejs Spotify SDK to interact with the Spotify Web API. I was successfully getting access tokens for a user that granted my Spotify app access, but then when I ran .getMe() it returned a 403.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The error message could not be unpacked so I had no idea why the access tokens I just got weren't working. Scopes were all fine.&lt;BR /&gt;&lt;BR /&gt;I finally ran a curl request to&amp;nbsp;&lt;A href="https://api.spotify.com/v1/me" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/me&lt;/A&gt;&amp;nbsp;and saw a real error - I didn't add the user to the Spotify App dashboard. Once I added the user to the Spotify Dashboard it worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two issues here;&lt;/P&gt;&lt;P&gt;1- why am I getting an access token for a user if I'm not able to act on those tokens? Seems like a mismatch. I should probably not get a token to begin with if the user isn't added to the spotify app&lt;BR /&gt;2- most importantly, the error message should probably be parsed and returned in the Spotify JS sdk so I can debug these issues more easily.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2024 15:10:45 GMT</pubDate>
    <dc:creator>bobbyflowstate</dc:creator>
    <dc:date>2024-11-12T15:10:45Z</dc:date>
    <item>
      <title>https://api.spotify.com/v1/me errors aren't handled by nodejs SDK properly.</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/https-api-spotify-com-v1-me-errors-aren-t-handled-by-nodejs-SDK/m-p/6501981#M15493</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I've been using the nodejs Spotify SDK to interact with the Spotify Web API. I was successfully getting access tokens for a user that granted my Spotify app access, but then when I ran .getMe() it returned a 403.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The error message could not be unpacked so I had no idea why the access tokens I just got weren't working. Scopes were all fine.&lt;BR /&gt;&lt;BR /&gt;I finally ran a curl request to&amp;nbsp;&lt;A href="https://api.spotify.com/v1/me" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/me&lt;/A&gt;&amp;nbsp;and saw a real error - I didn't add the user to the Spotify App dashboard. Once I added the user to the Spotify Dashboard it worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two issues here;&lt;/P&gt;&lt;P&gt;1- why am I getting an access token for a user if I'm not able to act on those tokens? Seems like a mismatch. I should probably not get a token to begin with if the user isn't added to the spotify app&lt;BR /&gt;2- most importantly, the error message should probably be parsed and returned in the Spotify JS sdk so I can debug these issues more easily.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 15:10:45 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/https-api-spotify-com-v1-me-errors-aren-t-handled-by-nodejs-SDK/m-p/6501981#M15493</guid>
      <dc:creator>bobbyflowstate</dc:creator>
      <dc:date>2024-11-12T15:10:45Z</dc:date>
    </item>
  </channel>
</rss>

