Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hello.
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.
This is my script::
var dropboxToken = "My_token";
$.ajax({
url: "https://content.dropboxapi.com/2/files/get_preview",
type: 'POST',
cache: false,
//dataType: 'json',
headers: {
'Authorization':'Bearer ' + dropboxToken,
'Content-Type': "application/octet-stream",
'Dropbox-API-Arg': JSON.stringify({
".tag": "path",
"path": "/Pruebas_liveChat/livechat-visual2+(5).pdf//",
}),
//"path": '/Pruebas_liveChat/livechat-visual2+(5).pdf',
},
error : function(err){
console.log(err);
},
success : function(code) {
console.log(code);
},
});
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!