<?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 https://content.dropboxapi.com/2/files/get_preview issue 409 in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/https-content-dropboxapi-com-2-files-get-preview-issue-409/m-p/285903#M17536</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get a preview of files stored in shared Dropbox folder, I'm working on JS and I'm getting this error 409 : path not found.&lt;/P&gt;&lt;P&gt;This is my script::&lt;/P&gt;&lt;P&gt;var dropboxToken = "My_token";&lt;BR /&gt;$.ajax({&lt;BR /&gt;url: "&lt;A href="https://content.dropboxapi.com/2/files/get_preview" target="_blank"&gt;https://content.dropboxapi.com/2/files/get_preview&lt;/A&gt;",&lt;BR /&gt;type: 'POST',&lt;BR /&gt;cache: false,&lt;BR /&gt;//dataType: 'json',&lt;BR /&gt;headers: {&lt;BR /&gt;'Authorization':'Bearer ' + dropboxToken,&lt;BR /&gt;'Content-Type': "application/octet-stream",&lt;BR /&gt;'Dropbox-API-Arg': JSON.stringify({&lt;BR /&gt;".tag": "path",&lt;BR /&gt;"path": "/Pruebas_liveChat/livechat-visual2+(5).pdf//",&lt;BR /&gt;}),&lt;BR /&gt;//"path": '/Pruebas_liveChat/livechat-visual2+(5).pdf',&lt;BR /&gt;},&lt;BR /&gt;error : function(err){&lt;BR /&gt;console.log(err);&lt;BR /&gt;},&lt;BR /&gt;success : function(code) {&lt;BR /&gt;console.log(code);&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:11:41 GMT</pubDate>
    <dc:creator>diego_gecko</dc:creator>
    <dc:date>2019-05-29T09:11:41Z</dc:date>
    <item>
      <title>https://content.dropboxapi.com/2/files/get_preview issue 409</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/https-content-dropboxapi-com-2-files-get-preview-issue-409/m-p/285903#M17536</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get a preview of files stored in shared Dropbox folder, I'm working on JS and I'm getting this error 409 : path not found.&lt;/P&gt;&lt;P&gt;This is my script::&lt;/P&gt;&lt;P&gt;var dropboxToken = "My_token";&lt;BR /&gt;$.ajax({&lt;BR /&gt;url: "&lt;A href="https://content.dropboxapi.com/2/files/get_preview" target="_blank"&gt;https://content.dropboxapi.com/2/files/get_preview&lt;/A&gt;",&lt;BR /&gt;type: 'POST',&lt;BR /&gt;cache: false,&lt;BR /&gt;//dataType: 'json',&lt;BR /&gt;headers: {&lt;BR /&gt;'Authorization':'Bearer ' + dropboxToken,&lt;BR /&gt;'Content-Type': "application/octet-stream",&lt;BR /&gt;'Dropbox-API-Arg': JSON.stringify({&lt;BR /&gt;".tag": "path",&lt;BR /&gt;"path": "/Pruebas_liveChat/livechat-visual2+(5).pdf//",&lt;BR /&gt;}),&lt;BR /&gt;//"path": '/Pruebas_liveChat/livechat-visual2+(5).pdf',&lt;BR /&gt;},&lt;BR /&gt;error : function(err){&lt;BR /&gt;console.log(err);&lt;BR /&gt;},&lt;BR /&gt;success : function(code) {&lt;BR /&gt;console.log(code);&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:11:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/https-content-dropboxapi-com-2-files-get-preview-issue-409/m-p/285903#M17536</guid>
      <dc:creator>diego_gecko</dc:creator>
      <dc:date>2019-05-29T09:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: https://content.dropboxapi.com/2/files/get_preview issue 409</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/https-content-dropboxapi-com-2-files-get-preview-issue-409/m-p/285946#M17541</link>
      <description>You can find the documentation for each of the errors for this endpoint here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_preview" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-get_preview&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For example, click on 'path' under 'PreviewError' to see that 'path/not_found' means "There is nothing at the given path", and 'path/not_file' means "We were expecting a file, but the given path refers to something that isn't a file.".&lt;BR /&gt;&lt;BR /&gt;I recommend using /2/files/list_folder[/continue] to make sure you are using the correct paths:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue&lt;/A&gt;</description>
      <pubDate>Mon, 23 Jul 2018 19:16:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/https-content-dropboxapi-com-2-files-get-preview-issue-409/m-p/285946#M17541</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-07-23T19:16:27Z</dc:date>
    </item>
  </channel>
</rss>

