Project cant download files

So i think i have implemented a download feature, just to download some text. However, I am getting the following developer console error. Do some searching, I added the webcontainer to some chrome settings “always keep these sites active”, and allow to use third party cookies sections. Is there something else I need to do to be able to check the download functionality in the webcontainer environment?

Download is disallowed. The frame initiating or instantiating the download is sandboxed, but the flag ‘allow-downloads’ is not set. See Chrome Platform Status for more details.