<p>I have setup kubernetes cluster using minikube on local , installed jenkins x on that but while creating project on jx using <strong>jx create spring</strong> I am getting error <code>error: Failed to create repository /demo5 due to: POST https://api.github.com/user/repos: 404 Not Found []</code>
I have also tried with <strong>jx create spring --git-username=user_name --git-api-token=token</strong></p>

<p>I ran into this issue while running through the getting started guide for <a href="https://toolkit.fluxcd.io/get-started/" rel="nofollow noreferrer">https://toolkit.fluxcd.io/get-started/</a>. I ran into this issue while trying to create a repo from a token that I had created. Turns out I not given the token that I was using for the guide enough permissions to be able to create a repo.</p>
<p>Try checking the permissions of the token. That immediately resolved the issue for me.</p>
<p>I think Github responds with a poor response code choice in this case. Should be an unauthorised response.</p>
