Unable to download the PDF format attachment from the attachment manager free application. Previously, it was working, but now it is not working.
This error is faced as shown in the screenshot below.
Below is the code snippet for downloading the attachment.
window.open(
`https://${subdomain}.freshdesk.com/helpdesk/attachments/${attachment.id}?download=true`
)
Thank in advance.