I run a blogging website. I am trying to share blogs on LinkedIn. When I inspect post on LinkedIn post inspector, it gives 500 error. I am not sure what could be wrong as I have included meta tags and I am able to post the same URL on Facebook without any error.
I read from some previous posts that there could be some problems with the SSL handshake. But I am not sure how to fix it.
I was having this problem on my website as well, for me the problem was HTML-minification related.
Linkedin doesn't parse the short doctype <!doctypehtml> so you'll probably get a 500 server error if this is in your page.
I had the same problem with you but after 1-hour fixing, I know how to solve it.
You just have to add <!doctype html> to line 1 of every file which execute the page. Then use Linkedin post inspector to see if problem is fixed. https://www.linkedin.com/post-inspector/