Ask Dave Taylor
  • Facebook
  • Instagram
  • Linkedin
  • Pinterest
  • Twitter
  • YouTube
  • Home
  • YouTube Videos
  • Top Categories
  • Subscribe via Email
  • Ask A Question
  • Meet Dave
  • Home
  • LinkedIn Help
  • How to fix LinkedIn “Cannot Display Preview” Error?

How to fix LinkedIn “Cannot Display Preview” Error?

August 17, 2020 / Dave Taylor / LinkedIn Help / 4 Comments

Every so often when I go to share a page from my client’s site on LinkedIn, I get a “Cannot display preview. Try another link.” error message. What causes it and how can I fix it so i can post with a proper preview?

The very first time that LinkedIn sees a page URL, it grabs some key information from the page and saves it so that subsequent user links can include a preview image and other information without having to go back to the site itself. This is known as caching and is one reason that the Web is a lot faster than it was a decade ago. Facebook and other services do the very same thing to speed up user interaction. That’s the upside. The downside is that if at the moment LinkedIn queries the remote site there’s a glitch or hiccup, that error can be “stuck” in the LinkedIn cache forever. No bueno.

This means that even if you wait a few hours and try again, you’ll still see that error message even though the site is back to full functionality; the error has been cached. But there’s a secret programmer way to remove the cache entry and have LinkedIn try again. Not only that, but it will also show you exactly what data it found when it visited the page you want to get that preview for! Let’s have a look…

First off, here’s the kind of LinkedIn error we’re talking about:

linkedin error: cannot display preview

The text in red says Cannot display preview. You can post as is, or try another link. Frustrating!

There’s nothing you can do here on the regular LinkedIn interface to fix the problem. This link is now in bad-preview limbo forever. Unless you go to the LinkedIn Post Inspector! Open a new tab and go here:

https://www.linkedin.com/post-inspector/

It will show you an input box without much explanation:

linkedin post inspector - input box

As suggested, enter that same link you’re trying to preview on your post and click “Inspect“. It will reach out again, ignoring the cache, and grab the data it seeks on the page. Didn’t work? Try again. If you have recurring problems, however, it’s probably the remote site that’s the problem, not LinkedIn!

Once LinkedIn Post Inspector can finally scrape the data it wants from the site, it’ll use that to reset the system cache for all of LinkedIn. Nice, fixed for everyone. The information shown is really interesting too, and great for checking to ensure that everything on the site is working properly.

It’ll even show you what you’ll see if you use this link in a LinkedIn post:

linkedin what you'll see, post inspector

Much better than no preview, right?

Below that is more information, the URL info and redirect trail for my post:

linkedin post inspector - bad link, no results

The redirect trail is particularly interesting if you’re posting a news article or even copying a shortened bit.ly URL or similar, as it’ll automatically expand to the original base URL of the source article, not share the shortened version. The “canonical” URL, by the way, is the “official” version of the URL according to the remote site. Some sites notably e-commerce sites, have the same content on multiple URLs, but then have one official link for ’em all.

Turns out that LinkedIn is using what’s known as open graph information, the same metadata that Facebook and Twitter use to build a preview of a Web link. Every modern Web site should have this information embedded and properly formatted. Post Inspector shows what it cares about further down the page:

linkedin post inspector - details of open graph data

Oops. I don’t have publish date specified, which I should probably fix on my site. More importantly, notice that the metadata includes a description and image URL. Both are critical to social links working correctly so if you don’t see this for your own pages, call your Webmaster and get it fixed. If your client’s Web site doesn’t included this sort of information, that’s something they need to deal with too, and pronto!

Once Post Inspector shows a good preview, you’re done. Close that tab and try your LinkedIn post again. As you can see, there’s now a valid and attractive preview included:

linkedin post with fixed cache preview

Now don’t forget to add a hashtag or two to help your post be findable!

Turns out that Facebook also has a post inspector too, if you’re curious. It’s known as the Sharing Debugger and it’s also quite interesting to explore…

Pro Tip: I’ve been writing about LinkedIn since the early days. Please do check out my extensive LinkedIn help pages while you’re visiting. Thanks!

Let’s Stay In Touch!

Never miss a single article, review or tutorial here on AskDaveTaylor, sign up for my fun weekly newsletter!
Name: 
Your email address:*
Please enter all required fields
Correct invalid entries
No spam, ever. Promise. Powered by FeedBlitz
Please choose a color:
Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you, Dave, for all your helpful information by buying you a cup of coffee!
cannot display preview, facebook debugger, link error, linkedin error, linkedin post inspector, linkedin preview

4 comments on “How to fix LinkedIn “Cannot Display Preview” Error?”

  1. peter harker says:
    June 28, 2022 at 10:25 am

    getting a 404 error on the redirect. Still not working. Thoughts?

    post is here

    https : // ihsmarkit.com/Info/0622/get-ready-for-the-sec-rule-18f-4.html

    Reply
    • Dave Taylor says:
      June 29, 2022 at 11:24 am

      Interesting. I tried sharing your URL on LinkedIn and it says it cannot get a preview, but when I try in the Facebook debugger – https://developers.facebook.com/tools/debug/ – it reports that it’s all fine and even shows an acceptable preview. Any possibility that your site security is blocking the LinkedIn crawler?

      Reply
  2. Matt says:
    June 8, 2022 at 5:56 am

    Thank you so much, great advice

    Reply
  3. David Garner says:
    March 8, 2022 at 2:07 am

    Thanks for that it works brilliantly

    Never managed to solve this before

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

Recent Posts

  • How do I Schedule a Google Meet call with Colleagues?
  • How Can I Add My Pronouns to my Instagram Account Profile?
  • Possible to Pair Bluetooth Headphones with my Vizio TV?
  • Possible to Schedule a Windows 11 System Update & Restart?
  • How Can I Add Spacers and Divider Lines to my MacOS 12 Dock?

On Our YouTube Channel

Google Pixel 6a Budget Android Smartphone -- DEMO & REVIEW

QueStyle M15 Mobile Lossless DAC / Headphone Amp -- UNBOXING & REVIEW

Categories

  • AdSense, AdWords, and PPC Help (106)
  • Amazon, eBay, and Online Shopping Help, (161)
  • Android Help (201)
  • Apple iPad Help (145)
  • Apple Watch Help (52)
  • Articles, Tutorials, and Reviews (344)
  • Auto Tech Help (11)
  • Business Advice (199)
  • Chrome OS Help (25)
  • Computer & Internet Basics (764)
  • d) None of the Above (165)
  • Facebook Help (383)
  • Google, Chrome & Gmail Help (180)
  • HTML & Web Page Design (245)
  • Instagram Help (48)
  • iPhone & iOS Help (607)
  • iPod & MP3 Player Help (173)
  • Kindle & Nook Help (93)
  • LinkedIn Help (85)
  • Linux Help (166)
  • Linux Shell Script Programming (87)
  • Mac & MacOS Help (894)
  • Most Popular (16)
  • Outlook & Office 365 Help (26)
  • PayPal Help (69)
  • Pinterest Help (53)
  • Reddit Help (18)
  • SEO & Marketing (81)
  • Spam, Scams & Security (92)
  • Trade Show News & Updates (23)
  • Twitter Help (217)
  • Video Game Tips (66)
  • Web Site Traffic Tips (62)
  • Windows PC Help (921)
  • Wordpress Help (204)
  • Writing and Publishing (72)
  • YouTube Help (46)
  • YouTube Video Reviews (159)
  • Zoom, Skype & Video Chat Help (57)

Archives

Social Connections:

Ask Dave Taylor


Follow Me on Pinterest
Follow me on Twitter
Follow me on LinkedIn
Follow me on Instagram


AskDaveTaylor on Facebook



microsoft insider mvp


This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to our terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. Our lawyer says "Thanks for your cooperation."
© 2022 by Dave Taylor. "Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.
Privacy Policy - Terms and Conditions - Accessibility Policy