# Sending records to error

* [To send records to error](#to-send-records-to-error)
* [Adding an Error Collector Node to a Data Axon](#adding-an-error-collector-node-to-a-data-pipeline)

There are three types of errors that can occur:

* Systemic
* Logical
* Data

Systemic errors include errors such as a service failing or the instance failing. Logical errors include errors such as an axon run failing. Data errors include errors such as invalid credit card numbers, invalid date formats, and invalid zip codes.

Turium provides a set of over 50 functions to help you remove common errors from a dataset.

***

### To send records to error <a href="#to-send-records-to-error" id="to-send-records-to-error"></a>

Follow these steps:

1. Click the drop-down button next to the column name.
2. Click 'Send to error', and then select the condition to send bad records to error.

Turium removes values that match the specified condition from the sample and adds the 'send to error' directive to the recipe. When you run the data axon, the transformation is applied to all values in the column.

***

### Adding an Error Collector Node to a Data Axon  <a href="#adding-an-error-collector-node-to-a-data-pipeline" id="adding-an-error-collector-node-to-a-data-pipeline"></a>

When you add an Turium transformation with a recipe that includes the 'send to error' directive to a data axon, you can choose to connect it to an Error Collector node. Error Collector nodes are typically connected to a downstream sink node, such as GCS.

When you run an axon with an Error Collector, the records flagged with 'send to error' flow from the  Turium transformation to the Error Collector and then to a sink node. After the axon run completes, you can examine the bad records written to the sink to better understand the problems with the data.

If your recipe includes 'send to error' transformation steps, but the axon doesn’t include an Error Collector, the records flagged as 'send to error' are dropped during the axon run.

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.turium.ai/home/algoreus/turium-connector-documentation/turium-fabriq-overview/how-to-guides/soma-transformation-user-guide/sending-records-to-error.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
