> ## 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.

# Grid variable does not contain the expected column

> Resolve the error returned when a component refers to a column that isn't in the grid variable.

## Error message

```text wrap theme={null}
Grid variable <name> does not contain column <column>
```

This error can appear when using the following components: [Create Table](https://docs.maia.ai/docs/components/create-table.md), [Grid Iterator](https://docs.maia.ai/docs/components/grid-iterator.md), [Run Orchestration](https://docs.maia.ai/docs/components/run-orchestration.md), and [Table Iterator](https://docs.maia.ai/docs/components/table-iterator.md).

### Explanation

A component refers to a column that isn't defined in the grid variable it reads from. The column was probably renamed or removed, or the parent and child pipelines define the grid differently.

### Potential causes

* A column in the grid variable was renamed or deleted after the component was configured.
* The parent pipeline passes a grid with different columns than the child pipeline defines.
* A typo or a difference in letter case between the column name in the component and in the grid.

***

## Resolve the error

1. Note the grid variable name and the column name from the error.
2. Open the pipeline's variables and compare the grid's defined columns to the column named in the error.
3. Update the component's column mapping, or add the missing column to the grid definition.
4. If a parent pipeline passes the grid to a child, make sure both define the same columns.
5. [Validate the pipeline](https://docs.maia.ai/docs/guides/validating-pipelines.md) and re-run.
6. If you still need help, [contact Maia Support](https://support.matillion.com/s/) and include the items listed below.

   * The pipeline name.
   * The grid variable name.

### Prevent future errors

To prevent this error occurring again, when you rename a column in a grid variable, search for every component that uses it and update its references to the new name.


## Related topics

- [Process nesting limit exceeded](https://docs.maia.ai/docs/errors/process-nesting-limit-exceeded.md)
- [For input string: value cannot be converted to a number](https://docs.maia.ai/docs/errors/for-input-string-value-cannot-be-converted-to-a-number.md)
- [SQL compilation error in the warehouse](https://docs.maia.ai/docs/errors/sql-compilation-error-in-the-warehouse.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.