Hi everyone!
I'm facing an issue with the Attachment Service (https://help.sap.com/viewer/4c3d1c6b3d744f84aab4c273f979f430/1909.000/en-US/b821e557b83a1070e10000000a44147b.html).
I integrated the Attachment Service reuse component into a freestyle UI5 application and everything worked just fine, but after a few days, when I was presenting it to the customer, the download attachment function wasn't working anymore (other functionality still works, ex. upload). When I click on an attachment (which should start the download), I only get a new blank tab in the browser.

The console shows following error:

If I set a breakpoint there, I can see that the URL to which the redirect is being made is empty string (but why?). The batch request that reads the attachments contains the URLs to the data and the data stream ($value), and the application also shows the data about the existing attachments.

"media_src": "https://<host:port>/sap/opu/odata/sap/CV_ATTACHMENT_SRV/OriginalContentSet(Documenttype='GOS',Documentnumber='EXT47000000000360',Documentpart='',Documentversion='',ApplicationId='005056BB1F371EECAC805FA0031E76C6',FileId='005056BB1F371EECAC805FA0031E96C6')/$value"
If I try opening the URL directly (data or data stream) the request fails.

What I already analyzed and excluded:
I'm having a hard time understanding what happened and running out of ideas how to try to fix the issue. Any ideas would be appreciated!