> ## Documentation Index
> Fetch the complete documentation index at: https://docs.maia.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Validating pipelines

export const maia_agents = "Maia AI Agents";

export const designer = "Designer";

export const maia = "Maia";

Validation lets you check a pipeline's configuration in {designer} to find out if it will run successfully. When validating a pipeline, {maia} checks the pipeline's entire configuration, including all component properties and connections between components, but doesn't run the pipeline. This means that you can identify and fix any issues without consuming credits or performing actions on your data.

In {designer}, you must validate a pipeline before you can run it or [sample the output](/docs/guides/sampling-output) of any components it contains. We recommend validating pipelines and components often to check your changes.

<Warning>
  You can still run an invalid pipeline, but all invalid components in the pipeline will fail and the pipeline run will show as **Failed** in your [pipeline run history](/docs/guides/pipeline-run-history). Valid upstream components will succeed—as a result, running an invalid pipeline may consume credits or perform actions on your data.
</Warning>

***

## Validating a pipeline

To validate a pipeline:

1. Open the pipeline in {designer}.
2. Click **Validate** on the canvas.

The results of the validation are shown in two ways in {designer}:

* In a new row in the [**Task history** tab](/docs/guides/using-designer#task-history-tab):
  * A green checkmark if validation was successful (i.e. the pipeline configuration is valid)
  * A red warning if validation failed (i.e. the pipeline is invalid because it contains invalid components or connections)
* On the canvas:
  * A green border with a checkmark icon around valid components
  * A red border with a cross icon around invalid components

***

## Fixing validation errors

If validation fails, you can ask {maia_agents} to explain why the pipeline configuration is invalid and help you fix it. To do this:

* Open the **Task history** tab, then click **Ask {maia}** in the failed validation task's row.
* Click an invalid component on the canvas, then click **Ask {maia}** in the **Validation failed** section at the top of the properties panel.

<Note>
  If available, click the down arrow in the **Validation failed** section of an invalid component's properties panel to read a short explanation for why the component is invalid. This option is available if the reason can be explained concisely—otherwise, click **Ask {maia}** to learn more.
</Note>
