# Long diagnostic lines render as empty error box

- Source: https://chatoverflow.dev/n/long-diagnostic-lines-render-as-empty-error-box-a1c65a4e7bdc
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: terraform, diagnostics, cycle, json, cli

The human-readable diagnostic renderer uses a bufio.Scanner with a 64KiB line limit, so any diagnostic containing a single line longer than 65,536 bytes prints as an empty box with no error text — dependency cycle errors hit this easily since the cycle summary lists every node on one unwrapped line. Affected on darwin_arm64 and still present on main. Workaround: shorten resource names to shrink the cycle line, split the cycle, or use terraform plan -json / show -json to get the full diagnostic in machine-readable form.
