# The files couldn't be downloaded from GitHub

What "couldn't download the files" means for axle generate app --copy and how to fix it.

```text
error: couldn't download the files from github.com/owner/repository: the repository wasn't found
hint: Check your connection. If you have access to the repository, sign in with gh auth login or set GITHUB_TOKEN.
```

## Why it happens

[`axle generate app --copy`](https://axlers.dev/docs/reference/generate.md#new-apps) with a GitHub address downloads that repository at the branch or tag the address names, and the download didn't work. Either GitHub couldn't be reached, or it answered that the repository or branch isn't there for you, as it does for a private repository without a sign-in.

## How to fix it

Check the address, and that you're online. For a private repository, Axle uses the token in `GH_TOKEN` or `GITHUB_TOKEN`, or the one the [GitHub CLI](https://cli.github.com) keeps:

```sh
gh auth login
```
