This error occurs when you try to set an array size constraint to 0. Arrays cannot be zero-sized.
{% include “docs/reference/fidl/language/error-catalog/label/_bad.md” %}
{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/bad/fi-0161.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}
To fix this error, change the size constraint to a positive integer.
{% include “docs/reference/fidl/language/error-catalog/label/_good.md” %}
{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/good/fi-0161.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}