How do I troubleshoot a data or function node that returns unexpected data?
A Data or Function node can produce unexpected data because of a malformed input payload, incorrect filter conditions, missing or incorrect attributes, service-side issues, or problems with the underlying source data.
Use the following steps to determine whether the issue originates from the input payload, node configuration, connected service, or source data:
- Go to AI Agent Studio and open the
Workflows
tab. - Select Edit
to modify a workflow. - From the toolbar, select Debug
. - Enter a prompt in Ask Oracle and submit it to run the workflow.
- Inspect the Function node input to verify that it contains the expected payload.
- Confirm that all attribute names, values, and operators are correct and match the function or service requirements.
- Inspect the Function node output to determine whether the unexpected data originates from the function itself.
- If the input is incorrect, trace the workflow upstream and inspect the payload-generation node to identify where the data became invalid.
- If the input is correct but the output is incorrect, investigate the selected function, tool, API endpoint, service configuration, or the underlying source data for errors or inconsistencies.