Thanks for reaching out and sorry to hear that you're having trouble in sharing links. I'd request if you can share a few more details like:
The version of XD.
The version of Mac or Win which you are using.
If it is happening with a specific file or multiple files, will it be possible for you to share the file with us?
Is it possible to share a video or error screenshot of your Issue which you are facing on so it will be useful to reproduce the issue from our end. Tried to reproduce your issue from our end on latest XD version-188.8.131.52 on Mac machine by creating and sharing links to others, but the Issue was not reproducible, so please share the above mentioned details.