title: Gitlab api v4 returns 404 on project search when using namespace/projectname instead of id
body: <p>I try to use the Gitlab Workflow plugin for VS Code. Unfortunately it does not find my project. I debugged it and found that it calls</p>
  <p><code>https://mydomain/gitlab/api/v4/projects/mygroup%2Fmyproject</code></p>
  <p>and the api returns</p>
  <pre><code>{
  error: &quot;404 Project Not Found&quot;
  }
  </code></pre>
  <p>This should work according to the <a href="https://docs.gitlab.com/ee/api/README.html#namespaced-path-encoding" rel="noreferrer">documentation</a>.</p>
  <p>If I call <code>https://mydomain/gitlab/api/v4/projects/:id</code> where id is the project number I get</p>
  <pre><code>path_with_namespace: &quot;mygroup/myproject&quot;,
  </code></pre>
  <p>Browsing the internet I found some people claiming it does not work for them too but no solution. Others say it works perfectly for them.</p>
  <p>I've tried with Gitlab CE 12.x.x and upgraded now to the latest version 13 (13.0.6) using <a href="https://github.com/sameersbn/docker-gitlab" rel="noreferrer">https://github.com/sameersbn/docker-gitlab</a></p>
  <p>I've tried with several projects to no avail.</p>
  <p>I'm maintainer for the projects.</p>
  <p>The access token has the rights api and read_user as <a href="https://marketplace.visualstudio.com/items?itemName=GitLab.gitlab-workflow" rel="noreferrer">requested by the plugin</a>.</p>
  <p>Clearly I'm missing something. But what?</p>
  <p>EDIT:</p>
  <p>My setup is having the docker container behind a reverse proxy apache. Maybe the authorization does not work as expected. The plugin sends a header <code>PRIVATE-TOKEN</code>. I'll check if the header is passed to the api.</p>
  <p>Nope. The PRIVATE-TOKEN header is recieved by the docker container.</p>
  <p>EDIT2:</p>
  <p>I set up a public group and a public project to eliminate auth problems. Still does not work. Search returns 404.</p>
  <p>EDIT3:</p>
  <p>Since Dashrath Mundkar asked about the curl command:</p>
  <pre><code>curl -H &quot;PRIVATE-TOKEN:XXXXXXX&quot; https://mydomain/gitlab/api/v4/projects/mygroup%2Fmyproject
  </code></pre>