# Error accessing the knowledge base
#### Symptoms

An error occurred when opening the knowledge base:

```txt
Error: Instance not found!
```

The following error is observed in the logs of the swarmica-helpcenter-1 container:

```bash
[app]  ERROR  { status: 400, method: 'GET', url: 'http://django:5000/api/instance/' }
```

Or:

```bash
[app]  ERROR  { status: undefined,  method: 'GET', url: 'https://my.swarmica.tld/api/instance/' }
```

#### Solution

To resolve the issue, follow these steps:

1. Add the django value, separated by a comma, to the `DJANGO_ALLOWED_HOSTS` variable in the `/root/swarmica/.env` file, for example:
    ```bash
    DJANGO_ALLOWED_HOSTS=my.swarmica.tld,django.
    ```
2. Uncomment the line
    ```bash
    INSECURE_HTTP_SERVER=1
    ```
3. Set the value of the variable
    ```bash
    NEXT_PUBLIC_HELPCENTER_SERVER_API_URL=http://django:5000
    ```
4. Reload the containers using the command:
    ```bash
    docker compose down && docker compose up -d
    ```

#### Cause

The Swarmica server is not accessible to itself through the external network due to network settings.