<?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: Get thumbnail with TypeScript in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/504354#M24955</link>
    <description>&lt;P&gt;hey &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;- when i try that, i get the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TypeError: fetch is not a function&lt;BR /&gt;at /Users/rosiew/Repositories/backend/packages/rest/.webpack/service/handler.js:441710:16&lt;BR /&gt;at processTicksAndRejections (internal/process/task_queues.js:93:5)&lt;/P&gt;</description>
    <pubDate>Mon, 15 Mar 2021 13:12:23 GMT</pubDate>
    <dc:creator>bffy_smmmers</dc:creator>
    <dc:date>2021-03-15T13:12:23Z</dc:date>
    <item>
      <title>Re: Get thumbnail with TypeScript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/504354#M24955</link>
      <description>&lt;P&gt;hey &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;- when i try that, i get the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TypeError: fetch is not a function&lt;BR /&gt;at /Users/rosiew/Repositories/backend/packages/rest/.webpack/service/handler.js:441710:16&lt;BR /&gt;at processTicksAndRejections (internal/process/task_queues.js:93:5)&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 13:12:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/504354#M24955</guid>
      <dc:creator>bffy_smmmers</dc:creator>
      <dc:date>2021-03-15T13:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get thumbnail with TypeScript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/504388#M24957</link>
      <description>&lt;P&gt;I've moved your comment to its own thread since it's no longer related to the original thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How did you install the&amp;nbsp;Dropbox library, and how are you setting up your client object?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 21:32:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/504388#M24957</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-03-12T21:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get thumbnail with TypeScript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/504684#M24966</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;Looks like this for the most part...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;import&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;DropboxAuth&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;files&lt;/SPAN&gt;&lt;SPAN&gt; } &lt;/SPAN&gt;&lt;SPAN&gt;from&lt;/SPAN&g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getThumbnail&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;path&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;any&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return this.manager.execute(async () =&amp;gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;any&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;client&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;filesGetThumbnail&lt;/SPAN&gt;&lt;SPAN&gt;({ &lt;/SPAN&gt;&lt;SPAN&gt;path&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;response&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;any&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;=&amp;gt;&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;'got filesGetThumbn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GetThumbnail 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;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Mar 2021 02:07:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/504684#M24966</guid>
      <dc:creator>bffy_smmmers</dc:creator>
      <dc:date>2021-03-15T02:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Get thumbnail with TypeScript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/504905#M24980</link>
      <description>&lt;P&gt;What version of 'dropbox' did you install, and how did you install it? Also, why is it 'dropbox_new' instead of just 'dropbox'?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should ideally install the latest version, via npm, and then not manually pass in the fetch yourself. See here for a note on this:&amp;nbsp;&lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/main/UPGRADING.md#5-default-behavior-for-fetch" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-js/blob/main/UPGRADING.md#5-default-behavior-for-fetch&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 16:46:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/504905#M24980</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-03-15T16:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Get thumbnail with TypeScript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/504961#M24990</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;the latest version 9.2.0. We're using a monorepo structure and instaling with yarn and so i had to add the package local to this repo by aliasing the package name, so it wouldnt keep pointing to the older versions of dropbox that are being used elsewhere in the root directory.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 18:10:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/504961#M24990</guid>
      <dc:creator>bffy_smmmers</dc:creator>
      <dc:date>2021-03-15T18:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get thumbnail with TypeScript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/504982#M24992</link>
      <description>&lt;P&gt;Can you confirm node-fetch is also successfully installed? The &lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/main/package.json#L108" target="_blank"&gt;'dropbox' library lists it as a dependency&lt;/A&gt; (currently&amp;nbsp;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;^2.6.1&lt;/SPAN&gt;&lt;SPAN class="pl-pds"&gt;"). And have you tried not passing in 'fetch' explicitly &lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/main/UPGRADING.md#5-default-behavior-for-fetch" target="_blank"&gt;as noted&lt;/A&gt;?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 18:57:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/504982#M24992</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-03-15T18:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get thumbnail with TypeScript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/505025#M24996</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;it is!&amp;nbsp; Using:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;"node-fetch"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"2.6.1".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the past when I've tried I've received a different error. and i just tried it again and got this: `&lt;SPAN&gt;TypeError: _this.fetch is not a function`.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 20:18:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/505025#M24996</guid>
      <dc:creator>bffy_smmmers</dc:creator>
      <dc:date>2021-03-15T20:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get thumbnail with TypeScript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/505417#M25005</link>
      <description>&lt;P&gt;Thanks for checking that. It's not clear why this is failing. Can you inspect what your 'fetch' or '&lt;SPAN&gt;_this.fetch' is in fact, if not a function?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 20:54:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/505417#M25005</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-03-16T20:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get thumbnail with TypeScript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/505755#M25010</link>
      <description>&lt;P&gt;fetch is either a Function or undefined!&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 21:06:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/505755#M25010</guid>
      <dc:creator>bffy_smmmers</dc:creator>
      <dc:date>2021-03-17T21:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get thumbnail with TypeScript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/505812#M25012</link>
      <description>&lt;P&gt;Here is an error message to add more context - i dont understanad what "dropbox_fetch" is. When i dont include fetch in the constructor I still receive an error regarding fetch.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;21-03-17T20:33:29.417-04:00&lt;/P&gt;&lt;P&gt;Copy&lt;BR /&gt;2021-03-18T00:33:29.417Z 74c3d3e2-e0a3-44e1-b49b-253580120ebd INFO TypeError: dropbox_fetch is not a function&lt;BR /&gt;at /var/task/handler.js:453612:16&lt;BR /&gt;at processTicksAndRejections (internal/process/task_queues.js:97:5)&lt;BR /&gt;2021-03-18T00:33:29.417Z 74c3d3e2-e0a3-44e1-b49b-253580120ebd INFO TypeError: dropbox_fetch is not a function at /var/task/handler.js:453612:16 at processTicksAndRejections (internal/process/task_queues.js:97:5)&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 00:35:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/505812#M25012</guid>
      <dc:creator>bffy_smmmers</dc:creator>
      <dc:date>2021-03-18T00:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get thumbnail with TypeScript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/505970#M25018</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;, I wanted to add that the thumbnails work when i try it in isolation using the Dropbox .js example. But not here.&amp;nbsp; Ireally dont see what i am doing wrong. The function just completely fails with one of these `fetch` errors. No matter what I try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;async&lt;/SPAN&gt; &lt;SPAN&gt;getThumbnail&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;path&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;string&lt;/SPAN&gt;&lt;SPAN&gt;&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@B0F70D28791EB05FA3EA0C3BDDF08EE3/emoticons/1f61e.png" alt=":disappointed_face:" title=":disappointed_face:" /&gt; &lt;/SPAN&gt;&lt;SPAN&gt;Promise&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;any&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt; &lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;manager&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;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&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;log&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'got filesGetThumbnail 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;error&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;SPAN&gt;return&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;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Mar 2021 14:58:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/505970#M25018</guid>
      <dc:creator>bffy_smmmers</dc:creator>
      <dc:date>2021-03-18T14:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Get thumbnail with TypeScript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/506095#M25025</link>
      <description>&lt;P&gt;Regarding your "fetch is either a Function or undefined" comment, are you saying that in one case "fetch" was actually a function, but you still got the "fetch is not a function"? That would be unexpected. And that in the other case "fetch" was actually undefined? In that case the error would be expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, &lt;A href="https://github.com/dropbox/dropbox-sdk-js/search?q=dropbox_fetch" target="_self"&gt;"dropbox_fetch" is not a name used in the SDK&lt;/A&gt;. Was that a variable name you set somewhere?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case, I can't reproduce this issue, so please provide a small sample project that reproduces it so we can look into it here. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 20:40:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/506095#M25025</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-03-18T20:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Get thumbnail with TypeScript</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/506435#M25036</link>
      <description>&lt;P&gt;hey&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp; thanks again for all of your help. it turned out to be a webpack issue and not related to the SDK.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 21:28:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Get-thumbnail-with-TypeScript/m-p/506435#M25036</guid>
      <dc:creator>bffy_smmmers</dc:creator>
      <dc:date>2021-03-19T21:28:11Z</dc:date>
    </item>
  </channel>
</rss>

