example workaround (?): ```js const onMouseClick = async () => { var windowReference = window.open() try { const apiResponse = await getFacturaPdfByNrFac(nrFactura.replace("/", "")) if (apiResponse.type) { var url = createObjectURL(apiResponse) windowReference.location = url } } catch (error) { console.error(error) } } export function createObjectURL(file) { if (window.webkitURL) { return window.webkitURL.createObjectURL(file) } else if (window.URL && window.URL.createObjectURL) { return window.URL.createObjectURL(file) } else { return null } } ```