---
title: "DF8202: Terminal Session Does Not Accept Input"
description: "Terminal session \"{id}\" does not accept input"
canonical_url: "https://devfra.me/errors/df8202"
---
# DF8202: Terminal Session Does Not Accept Input

> Terminal session "\{id}" does not accept input

## Message

> Terminal session "`{id}`" does not accept input

## Cause

`hub:terminals:write` or `hub:terminals:resize` was called for an output-only session. Sessions started with `ctx.terminals.startChildProcess()` are pipe-backed and read-only; only PTY sessions accept keystrokes and resize.

## Fix

Spawn it via `ctx.terminals.startPtySession()` to get an interactive, writable session.

## Source

- [`packages/hub/src/node/rpc-builtins.ts`](https://github.com/devframes/devframe/blob/main/packages/hub/src/node/rpc-builtins.ts): the `hub:terminals:write` / `hub:terminals:resize` handlers throw this when the resolved session has no `write` handle.


## Sitemap

See the full [sitemap](https://devfra.me/sitemap.md) for all pages.
