# DOMAIN_INVALID

**What it means.** That is not a domain name the platform can attach.

**What to do.** Use a hostname you control, like app.example.com, without a scheme or path.

- HTTP status: 400
- Retryable after applying the fix: yes

Every failure from the CLI or an MCP tool has this shape:

```json
{
  "ok": false,
  "code": "DOMAIN_INVALID",
  "message": "That is not a domain name the platform can attach.",
  "fix": "Use a hostname you control, like app.example.com, without a scheme or path.",
  "file": "<where to edit, when known>",
  "retryable": true,
  "docs": "https://docs.uarpie.app/errors/DOMAIN_INVALID"
}
```

Apply `fix` (edit `file` when it is given), then run the same command again.
