<?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: NetworkError when attempting to fetch resource when trying to share file using javascript sdk in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/508812#M25121</link>
    <description>&lt;P&gt;Hi, here are some more details about the error:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is that the full error output you receive? Please share any other output.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class="console-group console-group-messages"&gt;&lt;DIV class="console-message-wrapper console-from-api console-info-level"&gt;&lt;DIV class="console-message"&gt;&lt;SPAN class="source-code"&gt;&lt;SPAN class="console-message-text"&gt;&lt;SPAN class="object-value-error source-code"&gt;TypeError: Failed to fetch&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="console-message-wrapper console-info-level console-selected"&gt;&lt;DIV class="console-message"&gt;&lt;DIV class="console-message-stack-trace-toggle"&gt;&lt;DIV class="console-message-stack-trace-wrapper"&gt;&lt;DIV&gt;&lt;SPAN class="source-code"&gt;&lt;SPAN class="console-message-anchor"&gt;&lt;SPAN class="devtools-link"&gt;Dropbox-sdk.min.js:1&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="console-message-text"&gt;Fetch failed loading: POST "&lt;SPAN class="devtools-link"&gt;&lt;A href="https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings&lt;/A&gt;&lt;/SPAN&gt;".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp; (anonymous) @ &lt;SPAN class="devtools-link"&gt;Dropbox-sdk.min.js:1&lt;/SPAN&gt; &amp;nbsp; Promise.then (async) &amp;nbsp; &amp;nbsp; &amp;nbsp; value @ &lt;SPAN class="devtools-link"&gt;Dropbox-sdk.min.js:1&lt;/SPAN&gt; &amp;nbsp; value @ &lt;SPAN class="devtools-link"&gt;Dropbox-sdk.min.js:1&lt;/SPAN&gt; &amp;nbsp; h.sharingCreateSharedLinkWithSettings @ &lt;SPAN class="devtools-link"&gt;Dropbox-sdk.min.js:1&lt;/SPAN&gt; &amp;nbsp; shareFile @ &lt;SPAN class="devtools-link"&gt;testDropbox.php:155&lt;/SPAN&gt; &amp;nbsp; onsubmit @ &lt;SPAN class="devtools-link"&gt;testDropbox.php:36&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="console-message-wrapper console-info-level console-system-type"&gt;&lt;DIV class="console-message"&gt;&lt;SPAN class="source-code"&gt;&lt;SPAN class="console-message-text"&gt;Navigated to &lt;SPAN class="devtools-link"&gt;http://......&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="console-message-wrapper console-error-level"&gt;&lt;DIV class="console-message"&gt;&lt;DIV class="console-message-stack-trace-toggle"&gt;&lt;DIV class="console-message-stack-trace-wrapper"&gt;&lt;DIV&gt;&lt;SPAN class="source-code"&gt;&lt;SPAN class="console-message-anchor"&gt;&lt;SPAN class="devtools-link"&gt;Dropbox-sdk.min.js:1&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="console-message-text"&gt;POST &lt;SPAN class="devtools-link"&gt;&lt;A href="https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings&lt;/A&gt;&lt;/SPAN&gt; 409&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="console-message-wrapper console-from-api console-info-level"&gt;&lt;DIV class="console-message"&gt;&lt;SPAN class="source-code"&gt;&lt;SPAN class="console-message-anchor"&gt;&lt;SPAN class="devtools-link"&gt;testDropbox.php:160&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="console-message-text"&gt;&lt;SPAN class="object-value-error source-code"&gt;DropboxResponseError: Response failed with a 409 code at &lt;SPAN class="devtools-link"&gt;&lt;A href="https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js:1:30363" target="_blank" rel="noopener"&gt;https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js:1:30363&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="console-message-wrapper console-info-level"&gt;&lt;DIV class="console-message"&gt;&lt;DIV class="console-message-stack-trace-toggle"&gt;&lt;DIV class="console-message-stack-trace-wrapper"&gt;&lt;DIV&gt;&lt;SPAN class="source-code"&gt;&lt;SPAN class="console-message-anchor"&gt;&lt;SPAN class="devtools-link"&gt;Dropbox-sdk.min.js:1&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="console-message-text"&gt;Fetch failed loading: POST "&lt;SPAN class="devtools-link"&gt;&lt;A href="https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings&lt;/A&gt;&lt;/SPAN&gt;".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="console-message-wrapper console-info-level console-system-type"&gt;&lt;DIV class="console-message"&gt;&lt;SPAN class="source-code"&gt;&lt;SPAN class="console-message-text"&gt;Navigated to &lt;SPAN class="devtools-link"&gt;http://..........&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;UL&gt;&lt;LI&gt;What version of the SDK are you using?&lt;/LI&gt;&lt;LI&gt;How are you importing the SDK?&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;script&lt;/SPAN&gt; &lt;SPAN&gt;src&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js" target="_blank" rel="noopener"&gt;https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js&lt;/A&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;script&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="source-code"&gt;&lt;DIV class="widget"&gt;&lt;DIV class="console-prompt-editor-container"&gt;&lt;DIV class="widget vbox"&gt;&lt;DIV class="CodeMirror cm-s-default CodeMirror-wrap source-code fill"&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="CodeMirror-scroll"&gt;&lt;DIV class="CodeMirror-sizer"&gt;&lt;DIV class="CodeMirror-lines"&gt;&lt;DIV&gt;&lt;DIV class="CodeMirror-measure"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="CodeMirror-measure"&gt;&lt;UL&gt;&lt;LI&gt;What environment are you running this in? (Browser or node, and what version, for instance.)&lt;/LI&gt;&lt;LI&gt;Firefox/Chrome/Safari similar errors everywhere --&amp;gt; local website&amp;nbsp; using php and javascript&lt;/LI&gt;&lt;LI&gt;Is there anything on your network connection that may be interfering with connections to api.dropboxapi.com?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I don't think so because I successfully implemented the file upload using js and the file browser for the same account and using the same token so the connection should be fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="CodeMirror-cursors"&gt;&lt;DIV class="CodeMirror-cursor"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="CodeMirror-code"&gt;&lt;DIV class="CodeMirror-activeline"&gt;&lt;DIV class="CodeMirror-activeline-background CodeMirror-linebackground"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="CodeMirror-gutter-background CodeMirror-activeline-gutter"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="console-eager-preview"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 29 Mar 2021 20:34:20 GMT</pubDate>
    <dc:creator>ER2480</dc:creator>
    <dc:date>2021-03-29T20:34:20Z</dc:date>
    <item>
      <title>NetworkError when attempting to fetch resource when trying to share file using javascript sdk</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/508636#M25107</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am very new to the Dropbox SDK, I am trying to programmatically create a link for sharing a file and getting the above error:&lt;/P&gt;
&lt;P&gt;NetworkError when attempting to fetch resource when trying to share file using javascript sdk&lt;/P&gt;
&lt;P&gt;I am using the following code:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;dbx&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;Dropbox&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Dropbox&lt;/SPAN&gt;&lt;SPAN&gt;({ &lt;/SPAN&gt;&lt;SPAN&gt;accessToken:&lt;/SPAN&gt; &lt;SPAN&gt;ACCESS_TOKEN&lt;/SPAN&gt;&lt;SPAN&gt; });&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;dbx&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;sharingCreateSharedLinkWithSettings&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;SPAN&gt;path:&lt;/SPAN&gt; &lt;SPAN&gt;'/Filename.doc'&lt;/SPAN&gt;&lt;SPAN&gt;})&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;then&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;response&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;console&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;log&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;response&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;.&lt;/SPAN&gt;&lt;SPAN&gt;catch&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;error&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;console&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;log&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;error&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;P&gt;and in the same page I have a file uploaded that works fine. Any ideas?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 12:21:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/508636#M25107</guid>
      <dc:creator>ER2480</dc:creator>
      <dc:date>2021-03-29T12:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: NetworkError when attempting to fetch resource when trying to share file using javascript sdk</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/508706#M25112</link>
      <description>&lt;P&gt;This code looks correct and works for me. I'll be happy to help with this however possible, but I could use some more information:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Is that the full error output you receive? Please share any other output.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;What version of the SDK are you using?&lt;/LI&gt;
&lt;LI&gt;How are you importing the SDK?&lt;/LI&gt;
&lt;LI&gt;What environment are you running this in? (Browser or node, and what version, for instance.)&lt;/LI&gt;
&lt;LI&gt;Is there anything on your network connection that may be interfering with connections to api.dropboxapi.com?&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 29 Mar 2021 15:33:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/508706#M25112</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-03-29T15:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: NetworkError when attempting to fetch resource when trying to share file using javascript sdk</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/508812#M25121</link>
      <description>&lt;P&gt;Hi, here are some more details about the error:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is that the full error output you receive? Please share any other output.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class="console-group console-group-messages"&gt;&lt;DIV class="console-message-wrapper console-from-api console-info-level"&gt;&lt;DIV class="console-message"&gt;&lt;SPAN class="source-code"&gt;&lt;SPAN class="console-message-text"&gt;&lt;SPAN class="object-value-error source-code"&gt;TypeError: Failed to fetch&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="console-message-wrapper console-info-level console-selected"&gt;&lt;DIV class="console-message"&gt;&lt;DIV class="console-message-stack-trace-toggle"&gt;&lt;DIV class="console-message-stack-trace-wrapper"&gt;&lt;DIV&gt;&lt;SPAN class="source-code"&gt;&lt;SPAN class="console-message-anchor"&gt;&lt;SPAN class="devtools-link"&gt;Dropbox-sdk.min.js:1&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="console-message-text"&gt;Fetch failed loading: POST "&lt;SPAN class="devtools-link"&gt;&lt;A href="https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings&lt;/A&gt;&lt;/SPAN&gt;".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp; (anonymous) @ &lt;SPAN class="devtools-link"&gt;Dropbox-sdk.min.js:1&lt;/SPAN&gt; &amp;nbsp; Promise.then (async) &amp;nbsp; &amp;nbsp; &amp;nbsp; value @ &lt;SPAN class="devtools-link"&gt;Dropbox-sdk.min.js:1&lt;/SPAN&gt; &amp;nbsp; value @ &lt;SPAN class="devtools-link"&gt;Dropbox-sdk.min.js:1&lt;/SPAN&gt; &amp;nbsp; h.sharingCreateSharedLinkWithSettings @ &lt;SPAN class="devtools-link"&gt;Dropbox-sdk.min.js:1&lt;/SPAN&gt; &amp;nbsp; shareFile @ &lt;SPAN class="devtools-link"&gt;testDropbox.php:155&lt;/SPAN&gt; &amp;nbsp; onsubmit @ &lt;SPAN class="devtools-link"&gt;testDropbox.php:36&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="console-message-wrapper console-info-level console-system-type"&gt;&lt;DIV class="console-message"&gt;&lt;SPAN class="source-code"&gt;&lt;SPAN class="console-message-text"&gt;Navigated to &lt;SPAN class="devtools-link"&gt;http://......&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="console-message-wrapper console-error-level"&gt;&lt;DIV class="console-message"&gt;&lt;DIV class="console-message-stack-trace-toggle"&gt;&lt;DIV class="console-message-stack-trace-wrapper"&gt;&lt;DIV&gt;&lt;SPAN class="source-code"&gt;&lt;SPAN class="console-message-anchor"&gt;&lt;SPAN class="devtools-link"&gt;Dropbox-sdk.min.js:1&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="console-message-text"&gt;POST &lt;SPAN class="devtools-link"&gt;&lt;A href="https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings&lt;/A&gt;&lt;/SPAN&gt; 409&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="console-message-wrapper console-from-api console-info-level"&gt;&lt;DIV class="console-message"&gt;&lt;SPAN class="source-code"&gt;&lt;SPAN class="console-message-anchor"&gt;&lt;SPAN class="devtools-link"&gt;testDropbox.php:160&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="console-message-text"&gt;&lt;SPAN class="object-value-error source-code"&gt;DropboxResponseError: Response failed with a 409 code at &lt;SPAN class="devtools-link"&gt;&lt;A href="https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js:1:30363" target="_blank" rel="noopener"&gt;https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js:1:30363&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="console-message-wrapper console-info-level"&gt;&lt;DIV class="console-message"&gt;&lt;DIV class="console-message-stack-trace-toggle"&gt;&lt;DIV class="console-message-stack-trace-wrapper"&gt;&lt;DIV&gt;&lt;SPAN class="source-code"&gt;&lt;SPAN class="console-message-anchor"&gt;&lt;SPAN class="devtools-link"&gt;Dropbox-sdk.min.js:1&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="console-message-text"&gt;Fetch failed loading: POST "&lt;SPAN class="devtools-link"&gt;&lt;A href="https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings&lt;/A&gt;&lt;/SPAN&gt;".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="console-message-wrapper console-info-level console-system-type"&gt;&lt;DIV class="console-message"&gt;&lt;SPAN class="source-code"&gt;&lt;SPAN class="console-message-text"&gt;Navigated to &lt;SPAN class="devtools-link"&gt;http://..........&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;UL&gt;&lt;LI&gt;What version of the SDK are you using?&lt;/LI&gt;&lt;LI&gt;How are you importing the SDK?&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;script&lt;/SPAN&gt; &lt;SPAN&gt;src&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js" target="_blank" rel="noopener"&gt;https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js&lt;/A&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;script&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="source-code"&gt;&lt;DIV class="widget"&gt;&lt;DIV class="console-prompt-editor-container"&gt;&lt;DIV class="widget vbox"&gt;&lt;DIV class="CodeMirror cm-s-default CodeMirror-wrap source-code fill"&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="CodeMirror-scroll"&gt;&lt;DIV class="CodeMirror-sizer"&gt;&lt;DIV class="CodeMirror-lines"&gt;&lt;DIV&gt;&lt;DIV class="CodeMirror-measure"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="CodeMirror-measure"&gt;&lt;UL&gt;&lt;LI&gt;What environment are you running this in? (Browser or node, and what version, for instance.)&lt;/LI&gt;&lt;LI&gt;Firefox/Chrome/Safari similar errors everywhere --&amp;gt; local website&amp;nbsp; using php and javascript&lt;/LI&gt;&lt;LI&gt;Is there anything on your network connection that may be interfering with connections to api.dropboxapi.com?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I don't think so because I successfully implemented the file upload using js and the file browser for the same account and using the same token so the connection should be fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="CodeMirror-cursors"&gt;&lt;DIV class="CodeMirror-cursor"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="CodeMirror-code"&gt;&lt;DIV class="CodeMirror-activeline"&gt;&lt;DIV class="CodeMirror-activeline-background CodeMirror-linebackground"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="CodeMirror-gutter-background CodeMirror-activeline-gutter"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="console-eager-preview"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Mar 2021 20:34:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/508812#M25121</guid>
      <dc:creator>ER2480</dc:creator>
      <dc:date>2021-03-29T20:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: NetworkError when attempting to fetch resource when trying to share file using javascript sdk</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/509083#M25125</link>
      <description>&lt;P&gt;Thanks! That's helpful. From this output, I see you are getting an API error (with a 409 status code).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can print out the API error object like to see the endpoint-specific error:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;        .catch(function(error) {
            console.log(error.error);
        });&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 17:04:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/509083#M25125</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-03-30T17:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: NetworkError when attempting to fetch resource when trying to share file using javascript sdk</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/509156#M25130</link>
      <description>&lt;P&gt;Thank you so much for the suggestion. I tried it but it returns .."undefined".&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I using the correct sdk version?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 20:45:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/509156#M25130</guid>
      <dc:creator>ER2480</dc:creator>
      <dc:date>2021-03-30T20:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: NetworkError when attempting to fetch resource when trying to share file using javascript sdk</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/509359#M25133</link>
      <description>&lt;P&gt;From your script tag, you're using the latest version, which should work. (Though for reference, in a production app we&amp;nbsp;recommend you import a specific version, since the SDK may occasionally&amp;nbsp;receive major updates with breaking changes.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't seem to reproduce the "undefined" issue you're seeing though. Would you be able to share a live sample page showing the issue?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 14:15:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/509359#M25133</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-03-31T14:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: NetworkError when attempting to fetch resource when trying to share file using javascript sdk</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/509444#M25137</link>
      <description>&lt;P&gt;Yes, here is a temporary file on a beta site&lt;/P&gt;&lt;P&gt;&lt;A href="https://cdfbeta.creativedecisions.net/_admin/testDropbox.php" target="_blank"&gt;https://cdfbeta.creativedecisions.net/_admin/testDropbox.php&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 19:04:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/509444#M25137</guid>
      <dc:creator>ER2480</dc:creator>
      <dc:date>2021-03-31T19:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: NetworkError when attempting to fetch resource when trying to share file using javascript sdk</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/509448#M25138</link>
      <description>&lt;P&gt;Thanks! It looks like the issue here is that when you click "Share File", that causes the page itself to reload (since you're submitting a form), which interrupts the&amp;nbsp;Dropbox API call.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should update or restructure your page to avoid that reload. That's not really related to the&amp;nbsp;Dropbox API itself, but it looks like &lt;A href="https://stackoverflow.com/questions/26567486/prevent-page-reload-and-redirect-on-form-submit-ajax-jquery" target="_self"&gt;this StackOverflow post&lt;/A&gt; may be relevant.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 19:24:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NetworkError-when-attempting-to-fetch-resource-when-trying-to/m-p/509448#M25138</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-03-31T19:24:58Z</dc:date>
    </item>
  </channel>
</rss>

