I am having the same problem mentioned here (in archive):
I can’t share pages on linkedin. I know it is not an Apache conf file issue, or an htaccess issue, or a bad code issue because I can create a static version of the page and it shares just fine.
Same issue with Wayback Machine: it won’t index grav-controlled pages but will index static versions of these pages just fine.
How and where do you format the link? Did you check the HTML source after TWIG processed it?
I believe it is most likely due to wrong formatting. If you can provide the code you use to try to achieve this than it would be easier find the problem.