Why Am I Seeing a Message Indicating an Unsupported Operation?
Background
During a cloud service API call, Cloud CLI verifies the validity of your input parameters. If the API operation in the command is incorrect or the API is not released on Cloud CLI, the following error message is displayed:
[USE_ERROR] Unsupported operation: *
Solution
- Run the cloud <service> --help command to view the list of supported operations and check whether the operation is correct.
- If the operation is correct but not included in the Available Operations list output by the cloud <service> --help command, check either of the following reasons:
- Using the online mode: The corresponding API has not been launched on Cloud CLI.
- 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 cloud 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 Cloud CLI offline mode. Try again when the offline data package is updated, or use the online mode instead.
- Determine your current language environment based on the language setting on Cloud CLI 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 cloud configure set --cli-lang=en command.
Parent topic: Cloud Service APIs
- Background
- Solution