<?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: CORS pre-flight workaround is giving us 400 errors in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/CORS-pre-flight-workaround-is-giving-us-400-errors/m-p/672923#M3294</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1626793"&gt;@Dicta&lt;/a&gt; Can you please try again and let us know if you're still seeing the same issue now? Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2023 15:52:51 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-03-30T15:52:51Z</dc:date>
    <item>
      <title>CORS pre-flight workaround is giving us 400 errors</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/CORS-pre-flight-workaround-is-giving-us-400-errors/m-p/672538#M3290</link>
      <description>&lt;P&gt;In&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation" target="_blank" rel="noopener"&gt;https://www.dropbox.com/developers/documentation/http/documentation&lt;/A&gt;&amp;nbsp;in the section called "Browser-based JavaScript and CORS pre-flight requests" a method is given to avoid a preflight request. We've been using this successfully for half a year. Today, we've noticed a roughly 50% failure rate for API calls using this method with an error "Error in call to API function "files/list_folder": Unexpected URL params: "authorization"". The other 50% work just fine as usual. In both cases, they are the same calls - one call to list_folder will fail and the next will succeed. An example of a failure has&lt;/P&gt;
&lt;P&gt;x-dropbox-request-id: 478d61ccd84d41d3b0c061f2c212ff9a&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have found that reverting to use the version of the API that does use a preflight works just fine, so we have a (slightly slower) workaround.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any insight would be appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 06:46:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/CORS-pre-flight-workaround-is-giving-us-400-errors/m-p/672538#M3290</guid>
      <dc:creator>Dicta</dc:creator>
      <dc:date>2023-03-31T06:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: CORS pre-flight workaround is giving us 400 errors</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/CORS-pre-flight-workaround-is-giving-us-400-errors/m-p/672705#M3291</link>
      <description>&lt;P&gt;Hi Dicta,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reporting this issue. I have followed up with developers who are investigating further and will let you know when we have more information.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 21:58:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/CORS-pre-flight-workaround-is-giving-us-400-errors/m-p/672705#M3291</guid>
      <dc:creator>Scott-DB</dc:creator>
      <dc:date>2023-03-29T21:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: CORS pre-flight workaround is giving us 400 errors</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/CORS-pre-flight-workaround-is-giving-us-400-errors/m-p/672923#M3294</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1626793"&gt;@Dicta&lt;/a&gt; Can you please try again and let us know if you're still seeing the same issue now? Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 15:52:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/CORS-pre-flight-workaround-is-giving-us-400-errors/m-p/672923#M3294</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-03-30T15:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: CORS pre-flight workaround is giving us 400 errors</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/CORS-pre-flight-workaround-is-giving-us-400-errors/m-p/673564#M3304</link>
      <description>&lt;P&gt;It appears to be working reliably again, thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2023 09:30:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/CORS-pre-flight-workaround-is-giving-us-400-errors/m-p/673564#M3304</guid>
      <dc:creator>Dicta</dc:creator>
      <dc:date>2023-04-02T09:30:38Z</dc:date>
    </item>
  </channel>
</rss>

