Sync Failed: Try again or check the repository permissions

If you see an error along the lines of "push" or "sync" failed, it can mean one of two things:
  1. You don't have the necessary permissions to the repository.
  2. You don't have the SSH key on your computer that you need to sync with a Git remote provider (like GitLab).

Repository Permissions 

Here are some ways in which you might not have the necessary permissions to push to a repository:
  1. The repository might be private, and you don't have access.
  2. You might not be a member of the organization that owns the repository.
  3. You might not have the correct permissions on your account.
  4. Codux is not on the approved OAuth Apps list and the organization has OAuth App access restrictions enabled.
If you think you should have access to the repository, contact the owner or an administrator of the organization. They can add you to the repository or give you the correct permissions. Refer here for information on verifying that Codux is an approved OAuth App in the organization.

Missing SSH Key 

If you're cloning a project from a Git remote provider other than GitHub (like GitLab), you'll have to configure an SSH key so that you can authenticate with the repository while syncing. Make sure that you generated the key on your computer, and added it to your key manager and Git remote provider as described here.