Help Center/ Koo Command Line Interface/ User Guide (Ally Region)/ FAQs/ Cloud Service APIs/ How Can I Determine Whether a Command Is Successfully Executed from an Empty Response?
Updated on 2026-01-08 GMT+08:00

How Can I Determine Whether a Command Is Successfully Executed from an Empty Response?

Description

Calling APIs of some cloud services using Cloud CLI does not print any response. You cannot determine whether the calling is successful.

Solution

Add --debug to the original command to print the debugging information during command invocation. This line will be included: "API response status code is xxx." You can check the command invocation status based on the status code.