<?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: Batch Upload session in Mobile Browser Error in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/663955#M3237</link>
    <description>&lt;P&gt;Unfortunately that's not a bug that Dropbox can fix ourselves, as we don't own those products. There are some potential workarounds mentioned there that you may want to try though.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2023 13:52:00 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-02-28T13:52:00Z</dc:date>
    <item>
      <title>Batch Upload session in Mobile Browser Error</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/662092#M3226</link>
      <description>&lt;P&gt;Hi, I have build an dropbox uploader in the web using the&amp;nbsp; await dbx.filesUploadSessionStart and it works great in the desktop and mobile.&lt;/P&gt;&lt;P&gt;However It causes an error in the mobile browser if we select the files only from google drive. This error happens only in the mobile browser.&amp;nbsp;There is a TypeError, Failed to fetch error, which I guess it might be cors issue ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May I know how I can fix this ?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 04:18:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/662092#M3226</guid>
      <dc:creator>feltj16</dc:creator>
      <dc:date>2023-02-22T04:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Upload session in Mobile Browser Error</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/662351#M3228</link>
      <description>&lt;P&gt;I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the name and version number of the browser you are using&lt;/LI&gt;
&lt;LI&gt;the version number of the Dropbox SDK you are using&lt;/LI&gt;
&lt;LI&gt;the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)&lt;/LI&gt;
&lt;LI&gt;the full text of any error or unexpected output&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 22 Feb 2023 16:49:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/662351#M3228</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-02-22T16:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Upload session in Mobile Browser Error</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/662677#M3229</link>
      <description>&lt;UL&gt;&lt;LI&gt;the name and version number of the browser you are using&lt;UL&gt;&lt;LI&gt;Chrome in Mobile Android&lt;/LI&gt;&lt;LI&gt;Chrome 110.0.5481.65&lt;/LI&gt;&lt;LI&gt;Android 10&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;the version number of the Dropbox SDK you are using&lt;UL&gt;&lt;LI&gt;&amp;lt;script src="&lt;A href="https://cdnjs.cloudflare.com/ajax/libs/dropbox.js/10.30.0/Dropbox-sdk.min.js" target="_blank"&gt;https://cdnjs.cloudflare.com/ajax/libs/dropbox.js/10.30.0/Dropbox-sdk.min.js&lt;/A&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)&lt;UL&gt;&lt;LI&gt;&lt;DIV&gt;It got error in the&amp;nbsp;&lt;SPAN&gt;filesUploadSessionStart.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;.........&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; file = fileInput.files[i];&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; filename = fileInput.files[i].name;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;try&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;let&lt;/SPAN&gt;&lt;SPAN&gt; res = &lt;/SPAN&gt;&lt;SPAN&gt;await&lt;/SPAN&gt;&lt;SPAN&gt; dbx.filesUploadSessionStart({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;contents&lt;/SPAN&gt;&lt;SPAN&gt;: file,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;close&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;catch&lt;/SPAN&gt;&lt;SPAN&gt;(err) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; document.getElementById(&lt;/SPAN&gt;&lt;SPAN&gt;"v1"&lt;/SPAN&gt;&lt;SPAN&gt;).value += &lt;/SPAN&gt;&lt;SPAN&gt;"error&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;+err+&lt;/SPAN&gt;&lt;SPAN&gt;" :&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; obj = res;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; str = JSON.stringify(obj);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;the full text of any error or unexpected output&lt;UL&gt;&lt;LI&gt;Since its in mobile, there is no console for me to debug, but here is the error I can get -&amp;gt;&amp;nbsp;TypeError: Failed to fetch&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 23 Feb 2023 14:33:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/662677#M3229</guid>
      <dc:creator>feltj16</dc:creator>
      <dc:date>2023-02-23T14:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Upload session in Mobile Browser Error</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/662806#M3232</link>
      <description>&lt;P&gt;Thanks for the additional information. I don't see anything clearly wrong in your code, and since it only happens with files from Google Drive, it sounds like there's something unique to how the files are returned from Google Drive.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you try using &lt;A href="https://developer.chrome.com/docs/devtools/remote-debugging/" target="_blank"&gt;Chrome Remote Debugging&lt;/A&gt; to see if you can get a more specific error?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 20:41:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/662806#M3232</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-02-23T20:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Upload session in Mobile Browser Error</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/663426#M3234</link>
      <description>&lt;P&gt;Attached is the error -&amp;gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ss1.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/35658i4BA2D88C0829682D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ss1.png" alt="ss1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ss2.png" style="width: 307px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/35659i847FFC294F5F17CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ss2.png" alt="ss2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 06:03:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/663426#M3234</guid>
      <dc:creator>feltj16</dc:creator>
      <dc:date>2023-02-27T06:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Upload session in Mobile Browser Error</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/663722#M3235</link>
      <description>&lt;P&gt;Thanks! It looks like this is a bug in Chrome Android/Google Drive. There's a post about this here: &lt;A href="https://stackoverflow.com/questions/62714319/attached-from-google-drivecloud-storage-in-android-file-gives-err-upload-file" target="_blank"&gt;https://stackoverflow.com/questions/62714319/attached-from-google-drivecloud-storage-in-android-file-gives-err-upload-file&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 18:27:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/663722#M3235</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-02-27T18:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Upload session in Mobile Browser Error</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/663950#M3236</link>
      <description>&lt;P&gt;I see. So I believe we can't do anything about it then right..Thank you..&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 13:48:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/663950#M3236</guid>
      <dc:creator>feltj16</dc:creator>
      <dc:date>2023-02-28T13:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Upload session in Mobile Browser Error</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/663955#M3237</link>
      <description>&lt;P&gt;Unfortunately that's not a bug that Dropbox can fix ourselves, as we don't own those products. There are some potential workarounds mentioned there that you may want to try though.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 13:52:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Batch-Upload-session-in-Mobile-Browser-Error/m-p/663955#M3237</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-02-28T13:52:00Z</dc:date>
    </item>
  </channel>
</rss>

