Shared link opens DocSpace page, not the document.

I have copied the link to a shared document into different apps, such as Google Docs, Notesnook and Keep. However, whenever I click on the link, it never opens the document, but always redirects me to the the DocSpace overview. I have to paste the link into the address bar of my browser (I tried this with Firefox and Chrome) to access my file directly.

Not sure what is happening here.