<p>Im trying to update my flux via bootstrap by following this documentation:
<a href="https://fluxcd.io/flux/use-cases/azure/#flux-installation-for-azure-devops" rel="nofollow noreferrer">https://fluxcd.io/flux/use-cases/azure/#flux-installation-for-azure-devops</a>
Im running this code, enter my password, and run in the error:</p>
<pre><code>flux bootstrap git \
  --url=https://dev.azure.com/mycompany/mycomp/_git/myrepo \
  --branch=main \
  --password=${AZ_PAT_TOKEN} \
  --token-auth=true \
  --path=clusters/dev \
  --version=v0.35.0
</code></pre>
<p>Error</p>
<pre><code>► cloning branch &quot;main&quot; from Git repository &quot;https://dev.azure.com/mycompany/mycomp/_git/myrepo&quot;
✗ failed to clone repository: unexpected client error: unexpected requesting &quot;https://dev.azure.com/mycompany/mycomp/_git/myrepo/git-upload-pack&quot; status code: 400
</code></pre>
<p>The repository link is working, the branch and path are available.</p>

Leo
<p>The problem was that my Flux CLI wasn't at the same version as the cluster.</p>
