title: docker scan <REPOSITORY>:<TAG> - failed to get DockerScanID: bad status code "400 Bad Request"
body: <p>I am trying to run</p>
  <pre><code>docker scan &lt;REPOSITORY&gt;:&lt;TAG&gt;
  </code></pre>
  <p>but it fails with error</p>
  <pre><code>failed to get DockerScanID: bad status code &quot;400 Bad Request&quot;
  </code></pre>
  <p>notes:</p>
  <ul>
  <li>I'm logged in to hub.docker.com<br><a href="https://i.stack.imgur.com/nqzill.png" rel="noreferrer"><img src="https://i.stack.imgur.com/nqzill.png" alt="enter image description here" /></a></li>
  <li>I created a token in docker which I use in snyk.com</li>
  </ul>
  <p>I probably miss something else... any clues? thanks</p>