> This page is for Docs.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://zuora.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://zuora.ferndocs.com/_mcp/server.

# Correct data not displayed using AI Agent

> Learn how to fix issues where an AI Agent returns data but the component does not display it correctly.

Learn how to fix issues where an AI Agent returns data but the component does not display it correctly.

Confirm that the Agent's query returns data.

Identify the component that should display the data.

Review the Agent-generated component content and the field or variable used by the display logic.

Ask the Agent to display the returned data and correct the binding. For example, use the prompt I can't see the data returned by this query.

If an error is shown, include the complete error in a new Agent prompt. For example, ReferenceError: invoice is not defined indicates that the component is referencing an unavailable variable.

Preview the component again.

Confirm that the displayed values match the returned data.