Why Am I Seeing a Message Indicating that the cli-region Parameter Is Missing?
Background
When you use KooCLI to call cloud service APIs, a proper value of cli-region is required. If you have neither specified the value of cli-region in the command, nor configured it in the current profile, the following error message is displayed:
[USE_ERROR] Specify cli-region.
Solution
- If the value of cli-region is not specified in the command, add --cli-region=${regionValue} to the command and try again.
- If there is a region you often use, run the hcloud configure set --cli-profile=${profileName} --cli-region=${regionValue} command to add it to the target profile. When you use the profile again to call an API, you do not need to enter the value of cli-region in the command. However, if the target API is not available in this region, enter --cli-region=${regionValue} in the command to specify a supported region.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot