# ReportErrorInput input


One occurrence of an error, for [`reportError`](/chameleoon-max/mutation/report-error).

## Input fields

### requestId

`String!` · required

Your idempotency key for this occurrence, an opaque string of 1 to 128 bytes, unique within
the organisation. Send a new one for each occurrence that you report, and the same one when
you retry.

### subject

[`ErrorSubjectInput!`](/chameleoon-max/type/error-subject-input) · required

The record that the error is about.

### lineId

[`UUID`](/chameleoon-max/type/uuid)

The line of the record that the error is about. Null for the record as a whole.

### source

`String!` · required

The external system, in `UPPER_SNAKE_CASE`, 2 to 32 characters, for example `OBERON`.

### code

`String!` · required

Your code for the error, in `UPPER_SNAKE_CASE`, 2 to 64 characters, for example
`EXPORT_REJECTED`.

### statusCode

`Int`

The external system's status, for example the HTTP status it answered, from 0 to 999.

### message

`String!` · required

The reason, as the external system gave it, 1 to 2000 characters.

### details

[`JSON`](/chameleoon-max/type/json)

Machine-readable detail, as a JSON object of at most 8 KiB.

### occurredAt

[`Time`](/chameleoon-max/type/time)

When the error happened, on your clock. If omitted, the time when MAX received it.

### integrationsTarget

[`IntegrationsTargetInput`](/chameleoon-max/type/integrations-target-input)

Where the technical detail of this occurrence is in the Integrations platform.

## Used by

- [`reportError`](/chameleoon-max/mutation/report-error) (mutation)
