getIDMUrlGrid1() {
const $pid = 'M3_CustomsInvoice-110-1-LATEST/resource/stream?%24webdav=false';
this.ionApiService.execute({
method: 'GET',
url: 'IDM/api/items/M3_CustomsInvoice-110-1-LATEST/resource/stream?%24webdav=false',
headers: {
Accept: 'application/pdf',
},
source: this.source,
}).subscribe(
response => console.log(this.showIDMGrid1(response)),
error => console.log('Error:', error),
);
}
showIDMGrid1(body: any): void {
console.log('Response:', body);
try {
console.log('Response:', body);
this.LstInitHeader(this.division);
} catch (e) {
console.log('Error', e.errorMessage);
this.selectedIdmAttrs = [];
}
}
getting this error:

ION API details:

ION api response:

please help to resolve this error. Thanks in Advance!!