<?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: /list_folder/longpoll not working with CORS in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-longpoll-not-working-with-CORS/m-p/658865#M29973</link>
    <description>&lt;P&gt;Unlike &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank"&gt;/2/files/list_folder&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_blank"&gt;/2/files/list_folder/continue&lt;/A&gt;, the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-longpoll" target="_blank"&gt;/2/files/list_folder/longpoll&lt;/A&gt; endpoint should be accessed on the 'notify.dropboxapi.com' host (not 'api.dropboxapi.com').&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please update your code to use '&lt;A href="https://notify.dropboxapi.com/2/files/list_folder/longpoll'" target="_blank"&gt;https://notify.dropboxapi.com/2/files/list_folder/longpoll'&lt;/A&gt; and let me know if you're still running in to any issues.&lt;/P&gt;</description>
    <pubDate>Sat, 11 Feb 2023 23:07:36 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-02-11T23:07:36Z</dc:date>
    <item>
      <title>/list_folder/longpoll not working with CORS</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-longpoll-not-working-with-CORS/m-p/658737#M29971</link>
      <description>&lt;P&gt;I see this was an issue 5 years ago, but that issue was reported as fixed. However, I am seeing the issue once again. I can call /list_folder no problem, as well as /list_folder/continue as you can see in my network trace below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dprothero_0-1676074411005.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/35144i948C1B58AE7AC7F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dprothero_0-1676074411005.png" alt="dprothero_0-1676074411005.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, I cannot call&amp;nbsp;/list_folder/longpoll. The error in the console is the usual CORS error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Access to fetch at '&lt;A href="https://api.dropboxapi.com/2/files/list_folder/longpoll" target="_blank"&gt;https://api.dropboxapi.com/2/files/list_folder/longpoll&lt;/A&gt;' from origin '&lt;A href="http://localhost:4200" target="_blank"&gt;http://localhost:4200&lt;/A&gt;' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled."&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2023 00:15:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-longpoll-not-working-with-CORS/m-p/658737#M29971</guid>
      <dc:creator>dprothero</dc:creator>
      <dc:date>2023-02-11T00:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: /list_folder/longpoll not working with CORS</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-longpoll-not-working-with-CORS/m-p/658865#M29973</link>
      <description>&lt;P&gt;Unlike &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank"&gt;/2/files/list_folder&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_blank"&gt;/2/files/list_folder/continue&lt;/A&gt;, the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-longpoll" target="_blank"&gt;/2/files/list_folder/longpoll&lt;/A&gt; endpoint should be accessed on the 'notify.dropboxapi.com' host (not 'api.dropboxapi.com').&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please update your code to use '&lt;A href="https://notify.dropboxapi.com/2/files/list_folder/longpoll'" target="_blank"&gt;https://notify.dropboxapi.com/2/files/list_folder/longpoll'&lt;/A&gt; and let me know if you're still running in to any issues.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2023 23:07:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-longpoll-not-working-with-CORS/m-p/658865#M29973</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-02-11T23:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: /list_folder/longpoll not working with CORS</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-longpoll-not-working-with-CORS/m-p/658952#M29975</link>
      <description>&lt;P&gt;I completely missed that in the docs. It's working beautifully now, thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 12 Feb 2023 18:47:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-longpoll-not-working-with-CORS/m-p/658952#M29975</guid>
      <dc:creator>dprothero</dc:creator>
      <dc:date>2023-02-12T18:47:23Z</dc:date>
    </item>
  </channel>
</rss>

