Help Center> Koo Command Line Interface> FAQs> Cloud Service APIs> Why Am I Seeing a Message Indicating an Unsupported Operation?
Updated on 2023-10-16 GMT+08:00

Why Am I Seeing a Message Indicating an Unsupported Operation?

Background

During a cloud service API call, KooCLI verifies the validity of your input parameters. If the API operation in the command is incorrect or the API is not released on KooCLI, the following error message is displayed:

[USE_ERROR] Unsupported operation: *

Solution

  1. Run the hcloud <service> --help command to view the list of supported operations and check whether the operation is correct.
  2. If the operation is correct but not included in the Available Operations list output by the hcloud <service> --help command, check either of the following reasons:
    1. Using the online mode: The corresponding API has not been launched on KooCLI.
    2. Using the offline mode: The offline data package you used may not be the latest version, resulting in a parameter verification failure. In this case, run the hcloud meta download command to update the offline data package, and then run the command in 1 again. If the operation still does not exist in the result, the corresponding API is unavailable for KooCLI offline mode. Try again when the offline data package is updated, or use the online mode instead.
  3. Determine your current language environment based on the language setting on KooCLI or your system language. Currently, the cloud services and APIs released in the English environment are different from those in the Chinese environment. To switch the language, run the hcloud configure set --cli-lang=en command.

Cloud Service APIs FAQs

more