16 chars · 1 line
Waiting for input
16 chars · 1 line
Waiting for input
YAML flow sequence troubleshooting
The sample opens an inline list after items but reaches the end of the document without ]. The parser keeps waiting for the sequence boundary because indentation does not close flow-style collections. This tool is free to use. No account or payment is required.
Last updated
Square brackets define the sequence boundary explicitly. A newline or indentation change does not finish an inline list the way de-indentation can finish a block collection.
When items are added or wrapped across lines, the final bracket can be deleted accidentally. Block-style sequences reduce punctuation density when readability matters more than compactness.
Close the inline items list with a matching square bracket.
items: [one, twoitems: [one, two]Common questions
Yes. Every [ that starts a flow sequence needs a matching ] to end that collection.
Yes, but the square brackets still define its boundaries and the items still need valid flow separators.
Yes. A block sequence with dash-prefixed items can represent the same list and may be easier to edit when it becomes long.
Debugging a specific YAML issue? Browse YAML troubleshooting.