Common issues

How to overcome common issues building mobile apps on Codemagic

Repository is failing to be cloned from AWS CodeCommit


Repositories can be added to Codemagic from multiple sources such as Github, Gitlab, Bitbucket, and others. When connecting repositories from AWS CodeCommit via HTTPS, you may get the following error at the fetching app sources step:

Cloning into '/home/builder/clone'...
fatal: unable to access '': The requested URL returned error: 403

Build failed :|
Failed to clone repository

It is a known issue with repositories coming from AWS CodeCommit through HTTPS. In order to solve it, try an SSH connection instead, and when adding the repo URL, it needs to look like this:


Please note that the *XXXXXXXXX refers to your SSH-Key-ID

GitHub Integration - Repositories not showing up in the dropdown


GitHub repositories won’t show up in the dropdown while trying to add an app to Codemagic.


Try disconnecting the GitHub integration and then connecting it again.