Social crawlers get 206 error, breaking link previews

Hello,

My production site, www.vhglobalexport.com, is returning a 206 Partial Content status code to social media crawlers (like the Facebook and LinkedIn bots), while correctly returning a 200 OK to regular browsers.

This is breaking all social media link previews because the crawlers cannot parse the og: meta tags from the incomplete response.

Diagnostics so far:

  1. The root domain, vhglobalexport.com, is correctly configured for a 301 Permanent Redirect to www.vhglobalexport.com.
  2. The LinkedIn Post Inspector tool shows the following redirect trail, confirming the 206 error happens after the successful 301 redirect: URL redirect trail: 1. 301 Redirect https://vhglobalexport.com 2. 206 Success https://www.vhglobalexport.com/
  3. The Next.js application code is correct and all necessary og: meta tags are being pre-rendered via getStaticProps. The issue is not in the application code.

As confirmed in a previous chat (ref: internal error investigation), this appears to be a server-side issue. We need your team to please investigate why the Vercel Edge Network is sending a 206 response to specific user-agents (e.g., facebookexternalhit, LinkedInBot) instead of the correct 200 OK status after the redirect is followed.

Thank you.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.