// responseType == 'blob'
if(error.response.config.responseType == 'blob'){
let blob = new Blob([error.response.data])
let reader = new FileReader()
reader.readAsText(blob,'utf-8')
reader.onload = function () {
try{
let data = JSON.parse(reader.result)
consolr.log(data);
}catch (e) {
console.log(e)
}
}
}