<?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 PKRE code Challange await error in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/PKRE-code-Challange-await-error/m-p/5870182#M12611</link>
    <description>&lt;P&gt;I am attempting a PKRE Auth:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I attempt to test the exact code in VSCODE I get an async await error.&lt;/P&gt;&lt;P&gt;Any ideas on how to handle this error?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;const hashed = await sha256(codeVerifier)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"await is only valid in async functions"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 07 Feb 2024 02:00:55 GMT</pubDate>
    <dc:creator>magnet1</dc:creator>
    <dc:date>2024-02-07T02:00:55Z</dc:date>
    <item>
      <title>PKRE code Challange await error</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/PKRE-code-Challange-await-error/m-p/5870182#M12611</link>
      <description>&lt;P&gt;I am attempting a PKRE Auth:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I attempt to test the exact code in VSCODE I get an async await error.&lt;/P&gt;&lt;P&gt;Any ideas on how to handle this error?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;const hashed = await sha256(codeVerifier)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"await is only valid in async functions"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Feb 2024 02:00:55 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/PKRE-code-Challange-await-error/m-p/5870182#M12611</guid>
      <dc:creator>magnet1</dc:creator>
      <dc:date>2024-02-07T02:00:55Z</dc:date>
    </item>
  </channel>
</rss>

