Hey guys, bare with me... I'm new to this.
so I'm trying to use the list_folder function. when I test my code I get an error of "Error in call to API function "files/list_folder": request body: could not decode input as JSON"
can you point in the right direction so I can understand and learn what I'm doing wrong...
thanks for the help!
$.ajax({
url: 'https://api.dropboxapi.com/2/files/list_folder',
type: 'POST',
processData: false,
contentType: 'application/json',
path: "/MIG/Projects/Hippo content Watermark/4K",
headers: {
"Authorization": "Bearer <REMOVED_FOR_THIS_POST>",
},
success: function (data) {
console.log(data);
},
error: function (error) {
console.log(error);
}
})