

# Invalid choice: "kinesisanalyticsv2"
<a name="troubleshooting-cli-update"></a>

To use v2 of the Managed Service for Apache Flink API, you need the latest version of the Amazon Command Line Interface (Amazon CLI).

For information about upgrading the Amazon CLI, see [ Installing the Amazon Command Line Interface](https://docs.amazonaws.cn/cli/latest/userguide/installing.html) in the *Amazon Command Line Interface User Guide*.