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

# AutomationDiagnostic

> A problem in an automation, located by step and path in its typed definition.

**code** `String!` *required*

A stable code, such as F0004. Read `diagnostics/<code>` in `automationCatalog`.

**fixes** `[\[AutomationFix!\]!](/docs/api-reference/v3/reference/automations/automation-fix)` *required*

Suggested fixes, best first.

**fields**

**definition** `[AutomationDefinition!](/docs/api-reference/v3/reference/automations/automation-definition)` *required*

The definition with the fix applied.

**fields**

**edges** `[\[AutomationGraphEdge!\]!](/docs/api-reference/v3/pagination)` *required*

How runs move between the trigger and the steps.

**entryCondition** `[JSON](/docs/api-reference/v3/reference/common/json)`

An expression a run must meet to start; null admits every run. Read `guide/expressions` in `automationCatalog`.

**name** `String!` *required*

The automation's name.

**rulesVersion** `String!` *required*

The checker rules the automation is held to. A rule added in a later version only warns until you raise it.

**steps** `[\[AutomationStep!\]!](/docs/api-reference/v3/reference/automations/automation-step)` *required*

The steps, in the order the editor lists them.

**trigger** `[AutomationTrigger!](/docs/api-reference/v3/reference/automations/automation-trigger)` *required*

What starts a run.

**needsInput** `Boolean!` *required*

It fills in a placeholder you should check first.

**title** `String!` *required*

What the fix does.

**message** `String!` *required*

What is wrong.

**path** `[String!]`

Where in that step it is, such as `["config", "seconds"]`; without a step, where in the definition. Null when it has no one place.

**rulesVersion** `String!` *required*

The rules version its code arrived in. An error from a version newer than the automation's is reported as a WARNING.

**severity** `[AutomationDiagnosticSeverity!](/docs/api-reference/v3/reference/automations/automation-diagnostic-severity)` *required*

How much it matters. ERROR blocks publishing.

**stepId** `String`

`"trigger"` or the id of the step it is on; null for the automation as a whole.


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