IG REST agent response on single line instead of pretty print
search cancel

IG REST agent response on single line instead of pretty print

book

Article ID: 401392

calendar_today

Updated On:

Products

Automic SaaS CA Automic One Automation CA Automic Workload Automation - Automation Engine

Issue/Introduction

When running an Integration REST job on an IG REST agent that calls a REST WebService endpoint, the Response that is received from the server is on a single line instead of a multi-line "pretty print" response.  For example, the following is returned:

2025-06-17 17:13:05             Start response pattern
2025-06-17 17:13:05             {"type":"general","setup":"Why was the developer always calm?","punchline":"Because they knew how to handle exceptions.","id":442}
2025-06-17 17:13:05             End response pattern

When this is the expected (pretty print) response:

2025-06-17 17:13:12             Start response pattern
2025-06-17 17:13:12             {
2025-06-17 17:13:12               "type" : "general",
2025-06-17 17:13:12               "setup" : "Did you hear about the guy who invented Lifesavers?",
2025-06-17 17:13:12               "punchline" : "They say he made a mint.",
2025-06-17 17:13:12               "id" : 88
2025-06-17 17:13:12             }
2025-06-17 17:13:12             End response pattern

Most versions of the RA REST agent also return in pretty print as expected.

Environment

IG REST 24.0.0, 21.0.1, and earlier

Resolution

This does not happen in the Integration REST 24.0.1 agent which is available now