April 18, 2022
2 mins

Please make sure you have the correct access rights and the repository exists

Please make sure you have the correct access rights and the repository exists

Now I can't be the only person who gets sick of seeing this error.

It's been a major issue for me in my development career, and it always seems to show at the worst possible times.

You're just about to get started with a brand new project, and the first step is to create your project and get your source control instep.

  1. You've created your project
  2. You've created your remote repository
  3. You've added your first commit
  4. You've added your remote origins
  5. BLAM no repository access.

What's the problem?

There are a number of reasons this could actually be showing, so I'll go a few of the most common onces, including the one that I've not known about for years and has always caught me.

Make sure you've got SSH keys

You can do that by generating a new set of SSH keys using the follow: