ReportErrorInput input
One occurrence of an error, for reportError.
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! · required
The record that the error is about.
lineId
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
Machine-readable detail, as a JSON object of at most 8 KiB.
occurredAt
When the error happened, on your clock. If omitted, the time when MAX received it.
integrationsTarget
Where the technical detail of this occurrence is in the Integrations platform.
Used by
reportError(mutation)