JobInvalidEvent
Usage
This event triggers when the initial validation of a job's input files or parameters fails. Some common scenarios for the triggering of this event are the following:
Missing metadata for document classification.
Unsupported file types for extraction.
Processing an encrypted PDF without the necessary decryption key.
JSON Payload
{
"event_id": "(UUID format) - Unique identifier for the event.",
"event_type": "Describes the type of event that occurred.",
"event_time": "(floating-point numeric timestamp) - Unix timestamp representing the time when the event occurred, rounded to whole seconds.",
"event": {
"event_name": "Name of the specific event.",
"event_type": "Type of the event, often matching or related to the outer event_type.",
"company_id": "(UUID format) - Unique identifier for the company associated with the event.",
"company_name": "Name of the company involved in the event.",
"job_id": "(UUID format) - Unique identifier for the job that has been deemed invalid.",
"retries": "Integer - The number of attempts made to execute the job correctly.",
"exceeded_retries": "Boolean - Indicates whether the number of allowed attempts has been exceeded, which in this case is 'true', suggesting that no further attempts will be made.",
"error_messages": "Array of Strings - List of error messages that describe the reasons for the job's failure, such as missing required files or incorrect configurations, which are crucial for diagnosing issues.",
"creation_date": "(ISO 8601 date format) - Date and time when the job was initially created.",
"update_date": "(ISO 8601 date format) - Date and time when the job or event details were last updated, reflecting the final status of the job as invalid."
}
}
{
"event_id": "a9b8c7d6-e5f4-g3h2-i1j0-k9l8m7n6o5p4",
"event_type": "job_event_type",
"event_time": "1653342000.00",
"event": {
"event_name": "job_invalid_event",
"event_type": "job_event_type",
"company_id": "78901234-8901-8901-8901-8901234567ij",
"company_name": "NextGen Ventures",
"job_id": "89012345-0123-0123-0123-0123456789jk",
"retries": "4",
"exceeded_retries": "true",
"error_messages": [
"Validation failed: missing required files",
"Incorrect job configuration"
],
"creation_date": "2023-05-23T18:40:00Z",
"update_date": "2023-05-23T19:55:00Z"
}
}
Last updated
Was this helpful?