<?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: Provider API Returns 403 in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Provider-API-Returns-403/m-p/5078191#M1606</link>
    <description>&lt;P data-unlink="true"&gt;Hi&amp;nbsp;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/24069233"&gt;@driverdave&lt;/a&gt;.&amp;nbsp;I would recommend reaching out to the Analytics API team for help with this particular API - you can contact them at&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;analytics-&lt;SPAN class="c-mrkdwn__highlight"&gt;api&lt;/SPAN&gt;@spotify.com &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2020 14:07:01 GMT</pubDate>
    <dc:creator>spotifyjosh</dc:creator>
    <dc:date>2020-11-24T14:07:01Z</dc:date>
    <item>
      <title>Provider API Returns 403</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Provider-API-Returns-403/m-p/5074354#M1562</link>
      <description>&lt;P&gt;We are able to get an access token using our client id and client secret from&amp;nbsp;&lt;A href="https://accounts.spotify.com/api/token" target="_blank"&gt;https://accounts.spotify.com/api/token&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We then try to use the access token as follows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;curl -v -H "Authorization: Bearer {TOKEN}" &lt;A href="https://provider-api.spotify.com/v1/analytics/{LICENSOR}/enhanced/streams/2020/01/01" target="_blank"&gt;https://provider-api.spotify.com/v1/analytics/{LICENSOR}/enhanced/streams/2020/01/01&lt;/A&gt; -L&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The endpoint returns an empty&amp;nbsp;HTTP/2 403 response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The token seems valid, since changing the token results in an invalid token error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas what is causing the 403 response?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 23:25:58 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Provider-API-Returns-403/m-p/5074354#M1562</guid>
      <dc:creator>driverdave</dc:creator>
      <dc:date>2020-11-18T23:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Provider API Returns 403</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Provider-API-Returns-403/m-p/5075115#M1564</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/24069233"&gt;@driverdave&lt;/a&gt;, thanks for posting on the Spotify Community!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hmm, let's see what could be happening here. It looks like you're using a private API for artist statistics. Could you try to implement a different authorization flow and authorise with an account that has access to this private API? There's some more information about that here:&amp;nbsp;&lt;A href="https://developer.spotify.com/documentation/general/guides/authorization-guide/" target="_blank"&gt;https://developer.spotify.com/documentation/general/guides/authorization-guide/&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Happy coding,&lt;/P&gt;&lt;P&gt;Hubo&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 17:27:16 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Provider-API-Returns-403/m-p/5075115#M1564</guid>
      <dc:creator>Hubo</dc:creator>
      <dc:date>2020-11-19T17:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Provider API Returns 403</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Provider-API-Returns-403/m-p/5075925#M1572</link>
      <description>&lt;P&gt;Hi Hubo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you mention "&lt;SPAN&gt;a different authorization flow&lt;/SPAN&gt;", do you mean using a different client id and client secret? Or are you referring to a different way to request an access token?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or, asked a different way, do you think the issue the way we requested the access token, or is the issue the permissions associated with our client id used to create the token?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Dave&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 17:02:19 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Provider-API-Returns-403/m-p/5075925#M1572</guid>
      <dc:creator>driverdave</dc:creator>
      <dc:date>2020-11-20T17:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Provider API Returns 403</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Provider-API-Returns-403/m-p/5078191#M1606</link>
      <description>&lt;P data-unlink="true"&gt;Hi&amp;nbsp;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/24069233"&gt;@driverdave&lt;/a&gt;.&amp;nbsp;I would recommend reaching out to the Analytics API team for help with this particular API - you can contact them at&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;analytics-&lt;SPAN class="c-mrkdwn__highlight"&gt;api&lt;/SPAN&gt;@spotify.com &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 14:07:01 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Provider-API-Returns-403/m-p/5078191#M1606</guid>
      <dc:creator>spotifyjosh</dc:creator>
      <dc:date>2020-11-24T14:07:01Z</dc:date>
    </item>
  </channel>
</rss>

