# Client error 413: User not authorized

**URL:** <https://drone.discourse.group/t/client-error-413-user-not-authorized/9508>\
**Category:** Drone Support\
**Created:** [January 28, 2017, 3:39pm UTC](https://drone.discourse.group/t/client-error-413-user-not-authorized/9508 "2017-01-28T15:39:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hitogami](https://avatars.discourse-cdn.com/v4/letter/h/c68b51/32.png) [@Hitogami](https://drone.discourse.group/u/Hitogami)\
**Post date:** [January 28, 2017, 3:39pm UTC](https://drone.discourse.group/t/client-error-413-user-not-authorized/9508/1 "2017-01-28T15:39:51Z")

</div>

Hello,

I am getting this error when trying to add someone or show user list or start server via cli etc. I already provided both my account token and drone server url. I also added my self as an admin in docker-compose.yml but i don’t get any admin tools when i am logged into drone.

I also get this when trying to execute drone server

> root@gami:~# drone server  
> ERRO[0000] sql: unknown driver “sqlite3” (forgotten import?)  
> FATA[0000] database connection failed

My docker-compose.yml again

```
version: '2'

services:
  drone-server:
    image: drone/drone:0.5
    ports:
      - 8000:8000
    volumes:
      - ./drone:/var/lib/drone/
    restart: always
    environment:
      - DRONE_OPEN=true
      - DRONE_SECRET=test
      - DRONE_GOGS=true
      - DRONE_GOGS_URL=https://git.test.pw
      - DRONE_GOGS_GIT_USERNAME=test
      - DRONE_GOGS_GIT_PASSWORD=test
      - DRONE_ADMIN=test
  drone-agent:
    image: drone/drone:0.5
    command: agent
    restart: always
    depends_on: [drone-server]
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - DRONE_SERVER=ws://drone-server:8000/ws/broker
      - DRONE_SECRET=test

```

Also what does this mean?

> root@gami:~# drone repo info  
> Error: Invalid or missing repository. eg octocat/hello-world.

Just to let you know that my /install shows blank page. So i wasn’t able to install it. But am i suppose to install it something?

Thanks!

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [January 29, 2017, 4:50am UTC](https://drone.discourse.group/t/client-error-413-user-not-authorized/9508/2 "2017-01-29T04:50:52Z")

</div>

> I am getting this error when trying to add someone or show user list or start server via cli etc.

413 user not authorized can only happen when your username is not in the `DRONE_ADMIN` or when the account has not been created in drone. The account is created the first time you login.

> root@gami:~# drone server  
> ERRO[0000] sql: unknown driver “sqlite3” (forgotten import?)  
> FATA[0000] database connection failed

this happens when someone tries to build their own drone image, and compiles drone with CGO disabled. You can read more about CGO in the official Go documentation or you can use the official Drone images if you are not experienced in Go development.

> root@gami:~# drone repo info  
> Error: Invalid or missing repository. eg octocat/hello-world.

this is because you need to tell drone which repository you want the information for. The repository name should therefore be added as a command line argument:

```plaintext
drone repo info drone/drone
drone repo info drone/drone-ui
drone repo info octocat/hello-world

```

note that most of the CLI commands are documented with examples:  
[http://readme.drone.io/usage/getting-started-cli/#commands](http://readme.drone.io/usage/getting-started-cli/#commands)
