# Warnings & Errors

## Warnings

If the rule is not mapped in the Rule Flow, it will be demarcated by a **yellow border** with an icon![](https://437457296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN4F4-qybg8XDATvios%2F-Mi_gzQInMhIFTDlhkzm%2F-Mi_iiFVm1PXjK1N1tBh%2FwarningError2.png?alt=media\&token=4bf70b8b-3103-40e9-a10c-38c80c4325b5). If you save a rule with warnings, the state automatically switches to **pending**.

![](https://437457296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN4F4-qybg8XDATvios%2F-Mj33eM-1pe2YxkB1VhB%2F-Mj3FSuSjRFnc-LoyADv%2FwarningBox.PNG?alt=media\&token=82de8006-eff1-4455-84bd-55d4cf2f2c40)

{% hint style="info" %}
When you point to the![](https://437457296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN4F4-qybg8XDATvios%2F-Mi_gzQInMhIFTDlhkzm%2F-Mi_iiFVm1PXjK1N1tBh%2FwarningError2.png?alt=media\&token=4bf70b8b-3103-40e9-a10c-38c80c4325b5), warning information will be displayed.
{% endhint %}

### Types of warnings:

* The rule is missing mapping.

To fix this, map the data in a rule. At least one output must always be mapped for the mapping to be valid and no warnings to be displayed.

{% hint style="warning" %}
Rule Flow with warnings is automatically set to pending and cannot be called via Rule Flow Solver API
{% endhint %}

## Errors

Errors are serious mistakes that prevent Rule Flow from being saved. A **red border** and an icon![](https://437457296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN4F4-qybg8XDATvios%2F-MiaRTnRCde7g25PFHGJ%2F-MiaUcsWKJfc75BFcqbT%2FerrorIcon.png?alt=media\&token=0c5503be-1906-41d5-8d2c-bd98fd62abd5)appear next to a rule that contains errors.

![](https://437457296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN4F4-qybg8XDATvios%2F-Mj33eM-1pe2YxkB1VhB%2F-Mj3FoSnqTlqxD4UukxW%2FErrorBox.PNG?alt=media\&token=5d0da4bc-fc1a-495f-b150-f3f368302904)

{% hint style="info" %}
When you point to the![](https://437457296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN4F4-qybg8XDATvios%2F-MiaRTnRCde7g25PFHGJ%2F-MiaUcsWKJfc75BFcqbT%2FerrorIcon.png?alt=media\&token=0c5503be-1906-41d5-8d2c-bd98fd62abd5), errors information will be displayed.
{% endhint %}

### Types of errors:

* The rule is not connected with the input
* The rule is not connected with the output

To fix this connect all boxes to the Input box and Output box.

* The rule is not selected.

To fix this choose a rule into the empty box by clicking![](https://437457296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN4F4-qybg8XDATvios%2F-Mi5EW1Tg7om18IjsA_c%2F-Mi5PMOkotGTzVtSQJ3R%2FselectRule.PNG?alt=media\&token=01ae98f6-4067-4667-a6e4-5b446b7a8652)in the sidebar.

* Cannot find the rule.

The rule is probably deleted and can no longer be used in Rule Flow.
