fi-0201: Platform version not selected {:#fi-0201}

This error occurs when you compile a versioned FIDL library without choosing a version:

{% include “docs/reference/fidl/language/error-catalog/label/_bad.md” %}

{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/bad/fi-0201.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}

To fix it, choose a version with the --available command line flag:

{% include “docs/reference/fidl/language/error-catalog/label/_good.md” %}

{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/good/fi-0201.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}

The version must be a number greater than or equal to 1, or one of the special versions HEAD and LEGACY. For more information, see the documentation for FIDL versioning.