title: LinkedIn Share API throws a 500 error for our URL
body: <p>We're trying to implement a basic LinkedIn share link using the LinkedIn Share API but are running into issues when we try and share our web application URL in particular</p>
  <p><strong>JS Fiddle of our implementation with our URL:</strong>
  <a href="https://jsfiddle.net/Jmackus/qthgoeL1/3/" rel="nofollow noreferrer">https://jsfiddle.net/Jmackus/qthgoeL1/3/</a></p>
  <p><code>&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;https://www.linkedin.com/sharing/share-offsite/?url=https://hcm616.peoplestreme.net/linkedintest-sandbox/erec_external.asp&quot;&gt;Share this on LinkedIn&lt;/a&gt;</code></p>
  <p>We get the below errors from LinkedIn:</p>
  <ul>
  <li><p>in the browser: <a href="https://i.stack.imgur.com/tSHtY.png" rel="nofollow noreferrer">&quot;Something went wrong&quot;</a></p>
  </li>
  <li><p>and in the console: <a href="https://i.stack.imgur.com/qQQJV.png" rel="nofollow noreferrer">500 Console error</a></p>
  </li>
  <li><p>A 500 error also occurs when using the LinkedIn Post Inspector for our URL as well:
  <a href="https://i.stack.imgur.com/lG3gT.png" rel="nofollow noreferrer">LinkedIn Post Inspector error</a></p>
  </li>
  </ul>
  <p>Post Inspector URL:
  <a href="https://www.linkedin.com/post-inspector/inspect/https:%2F%2Fhcm616.peoplestreme.net%2Flinkedintest-sandbox%2Ferec_external.asp%3FjobId=1" rel="nofollow noreferrer">https://www.linkedin.com/post-inspector/inspect/https:%2F%2Fhcm616.peoplestreme.net%2Flinkedintest-sandbox%2Ferec_external.asp%3FjobId=1</a></p>
  <p>Changing browsers and LinkedIn accounts doesn't resolve the issue and at this point we are unsure what's causing the issue</p>
  <p>Does anyone have any ideas on what may be causing this?</p>