title: Any queries to the api.linkedin.com/v2/ return "Not enough permissions to access ..."
body: <ol>
  <li>I got the <em>Access Token</em> (with scope: <code>r_basicprofile rw_company_admin w_share</code>) using the <em>Client ID</em>, <em>Client Secret</em> at following URLs:
  
  <ul>
  <li><a href="https://www.linkedin.com/oauth/v2/authorization" rel="noreferrer">https://www.linkedin.com/oauth/v2/authorization</a></li>
  <li><a href="https://www.linkedin.com/oauth/v2/accessToken" rel="noreferrer">https://www.linkedin.com/oauth/v2/accessToken</a>  </li>
  </ul></li>
  <li><p>Make request to the <a href="https://api.linkedin.com/v2/me" rel="noreferrer">https://api.linkedin.com/v2/me</a> endpoint</p>
  
  <pre><code>curl -H "Authorization: Bearer ACCESS_TOKEN"
      -H "Accept: application/json"
      -H "Content-Type: application/json"
      -H "X-Restli-Protocol-Version: 2.0.0" https://api.linkedin.com/v2/me
  </code></pre></li>
  <li><p>Get response:</p>
  
  <pre><code>{
      "serviceErrorCode": 100,
      "message": "Not enough permissions to access /me GET ",
      "status": 403
  }
  </code></pre></li>
  </ol>
  
  <p>Similar erroneous responses are returned to any requests for <a href="https://api.linkedin.com/v2/" rel="noreferrer">https://api.linkedin.com/v2/</a></p>
  
  <p>In official documentation there is difference requirements to headers:</p>
  
  <ul>
  <li><a href="https://developer.linkedin.com/docs/guide/v2/concepts/protocol-version" rel="noreferrer"><code>X-Rest**l**i-Protocol-Version</code></a></li>
  <li><a href="https://developer.linkedin.com/docs/guide/v2/people/profile-api" rel="noreferrer"><code>X-Rest**L**i-Protocol-Version</code></a></li>
  </ul>
  
  <p>But I tried both, and nothing worked.</p>
  
  <p>Requests to the <a href="https://api.linkedin.com/v1/" rel="noreferrer">https://api.linkedin.com/v1/</a> (using the same token) successfully return data.</p>
  
  <p>Please, tell me what I'm doing wrong.</p>