I'm getting a 'Request has been terminated...' console error with this code below. I imagine it's no different than the filesUpload(arg) class but it's not working for me. Is there something wrong with my code?
function deleteFile(){
dbx.filesDeleteV2({path: "/humanities.txt"})
.then(function(response){
console.log(response);
})
.catch(function(error){
console.error(error);
});
}