I have this issue when links are shared directly to a file on SharePoint.
It's often more useful to share the directory it's in rather that the file itself. MS Office dies have a way to get that information, but you have to look for it.