Hi, I am using dropbox V2 API (current version from npm 3.0.4). Working with VueJS / Nuxt.
And I am trying to get thumbnails from dropbox folder,
This console message I am getting (Dropbox-sdk.min.js)
TypeError: t.buffer is not a function
And this is code I am executing
dbx.filesListFolder({ path: '/Website/1. Overview', recursive: true, include_media_info: true, include_deleted: false, include_has_explicit_shared_members: false, include_mounted_folders: false, limit: 5 })
.then(function(response) {
console.log(response);
dbx.filesGetThumbnail({ path: response.entries[1].path_display, format: 'jpeg', size: 'w64h64' })
.then(function(result) {
window.data = result;
console.log(result);
})
.catch(function(error) {
console.log(error);
});
})
.catch(function(error) {
console.log(error);
});So, one thing I noticed that my files in that folder have property with "file" value
{
".tag": "file"
}should it be any of image formats "jpeg" | "png"
Thank you for any kind of answer