# dflow issues:create

> Report an issue when something unexpected happens.

Web page: /docs/cli/account/issues-create/

This stores a report when something unexpected happens. You get an id back. The status starts as `open`. When the API is set up for ClickUp, it also opens a task tagged `dFlow Cloud` and `customer report`. A failed ticket still returns the stored id. Later status updates are not automatic: list and inspect keep the stored value until you run [dflow issues:refresh-status](/docs/cli/account/issues-refresh-status) or use Check status in Settings → Issues.

```bash
dflow issues:create --message "the deploy failed" --kind bug --tag deploy
```

`clickup` in the result is `skipped`, `stored`, or `failed`. `stored` means a ClickUp task was opened. `skipped` means ClickUp is not configured. `failed` means the task was not opened, and you still have the stored id. `status` is `open`. `screenshots` is `skipped`, `stored`, or `failed` when you attached images.

## Flags

| Flag | Meaning |
| --- | --- |
| `--message` | What happened. Required. |
| `--title` | Short title. The first line of the message is used when this is omitted. |
| `--kind` | `unexpected`, `bug`, `docs`, or `other`. The default is `unexpected`. |
| `--tag` | Optional. Repeat it. Only `deploy`, `route`, `database`, `billing`, `docs`, or `agent`. |
| `--screenshot` | Optional image path. Repeat it, at most 3. png, jpeg, or webp, under 2 MB. |
| `--tool` | The tool that failed. |
| `--request-id` | Request id from the failed call. |
| `--application` | Application id. |
| `--operation` | Operation id. |

## What you see

`id`, `title`, `kind`, `status`, `screenshots`, and `clickup`. A stored ticket also prints `clickup_task_id` and `clickup_url`.

## When it fails

A missing message, an unknown kind, an unknown tag, or a bad screenshot exits 1. A missing login exits 2.
