Course 1: Getting started with API AutoFlow
2 min read · 6 min video
Lesson 12: Debugging Using Logs
- Action Error
- Apply Data/Log Action
When an error occurs with an action, the action is alerted in RED.
In the below example, the action integer to string is expecting an
integer but got a string value of
Expected Integer for “integer” but received non-integer value: “Hello World”
In most cases debugging happens with simulated data. That is because flows are made to handle the input data and generate the desired output.
Apply data/log action anywhere in the flow to print the data.
In the example below, note that two data/log actions are applied.
- The first
data/log 1log the data and shows
- The second
data/log 2log the data after the string/upcase has been applied and shows
Note that the data printed is what the data/log action received where it is applied.