要获取元数据的Dropbox API不会为.png文件返回任何内容。最近工作正常,但现在不工作。Dropbox API不会为png文件返回元数据
这里是API调用我做:
this.dropbox.filesGetMetadata({
path: file.id,
include_media_info: true
}).then((mdata) => {
console.log(mdata.media_info)
})
这将打印undefined
,当我指定PNG文件的ID,但是对于像.JPEG其他图像文件,它工作正常,并打印media_info
对象的所有我需要的元数据。
有没有人有类似的问题?