<?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: dropbox.api  and DropboxClient in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-api-and-DropboxClient/m-p/274183#M16318</link>
    <description>If the Dropbox API call is failing, you should get a more specific error from the API. It sounds like you're only retrieving a generic error message though. Please inspect the exception, e.g., using the debugger, to get more information.</description>
    <pubDate>Fri, 27 Apr 2018 15:50:31 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-04-27T15:50:31Z</dc:date>
    <item>
      <title>dropbox.api  and DropboxClient</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-api-and-DropboxClient/m-p/273904#M16302</link>
      <description>&lt;P&gt;I have these few lines of code in my ASP.net app to get files from DropBox.&lt;/P&gt;&lt;P&gt;And I get no error but it DOES NOT WORK?&amp;nbsp; nothing happens.&amp;nbsp; This code is in an Async function&lt;/P&gt;&lt;P&gt;an it does get invoked correctly, etc, etc.&amp;nbsp; Folders are correct. App in DropBox is correct. My Token is correct.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Any help would be much appreciated.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim myDbClient As New DropboxClient("MyToken")&lt;BR /&gt;myDbClient.Files.DownloadAsync("/" + folder + "/" + fileName).ConfigureAwait(False)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dim folder = "Mike_Lino_Taxi_App" 'dropbox folder name&lt;BR /&gt;Dim fileName = "lino123A.txt" 'dropbox file name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;response = Await myDbClient.Files.DownloadAsync("/" + folder + "/" + fileName).ConfigureAwait(False)&lt;/P&gt;&lt;P&gt;Dim bytes = Await response.GetContentAsByteArrayAsync().ConfigureAwait(False)&lt;/P&gt;&lt;P&gt;Using fileStream = File.Create("C:\Projects\Mike\lino777.txt") ' local path&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fileStream.Write(bytes, 0, bytes.Length)&lt;BR /&gt;End Using&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:13:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-api-and-DropboxClient/m-p/273904#M16302</guid>
      <dc:creator>Lino1</dc:creator>
      <dc:date>2019-05-29T09:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox.api  and DropboxClient</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-api-and-DropboxClient/m-p/274072#M16306</link>
      <description>I don't see anything obviously wrong. Please step through this code with a debugger and figure out which exact line doesn’t work as expected and share the details.</description>
      <pubDate>Thu, 26 Apr 2018 17:32:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-api-and-DropboxClient/m-p/274072#M16306</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-04-26T17:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox.api  and DropboxClient</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-api-and-DropboxClient/m-p/274102#M16307</link>
      <description>&lt;P&gt;Thank you for your response Greg.&lt;/P&gt;&lt;P&gt;This is the line that fails:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Dim response As IDownloadResponse(Of FileMetadata) = Await myDbClient.Files.DownloadAsync("/" + folder + "/" + fileName)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Try Catch in my code and error is:&amp;nbsp; "An error occurred when send the request."&lt;/P&gt;&lt;P&gt;This error message is too general.&amp;nbsp; I checked all my folders, names, etc.&amp;nbsp; All looks good.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help would be appreciated.&amp;nbsp; Is there any way of getting more details about this error.&amp;nbsp; Can I get some trace log or something?&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 21:22:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-api-and-DropboxClient/m-p/274102#M16307</guid>
      <dc:creator>Lino1</dc:creator>
      <dc:date>2018-04-26T21:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox.api  and DropboxClient</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-api-and-DropboxClient/m-p/274183#M16318</link>
      <description>If the Dropbox API call is failing, you should get a more specific error from the API. It sounds like you're only retrieving a generic error message though. Please inspect the exception, e.g., using the debugger, to get more information.</description>
      <pubDate>Fri, 27 Apr 2018 15:50:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-api-and-DropboxClient/m-p/274183#M16318</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-04-27T15:50:31Z</dc:date>
    </item>
  </channel>
</rss>

