You want AI to extract necessary information from text and receive it in the same format every time. JSON output is useful ...
You know that "an error occurred," but you don't know whose action, which request, or where it failed. Many people hit this wall when they start running APIs or batch jobs in Python. Adding print() ...