Peak problem types
Home / homematch / job_already_running

A run of the job is already in flight.

Code
job_already_running
Type
https://problems.peakintelligence.ch/homematch/job-already-running
Status
409 Conflict
Audience
client. Only the calling software can act on it. A client shows its own general failure and quotes traceId; detail is in English, for developers.
Service
homematch

Description

A run was asked for while another run of the same job, or another history replay holding the shared replay lease, is still in flight, so no new run was started. The detail names what to wait for or poll. Wait for the running one to finish, then ask again; a lease left behind by a dead run can be released with the operator tool the detail names.

Example

HTTP/1.1 409 Conflict
Content-Type: application/problem+json

{
  "type": "https://problems.peakintelligence.ch/homematch/job-already-running",
  "title": "A run of the job is already in flight.",
  "status": 409,
  "code": "job_already_running",
  "audience": "client",
  "traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}

A real answer also carries detail when there is something to say about this occurrence, and may carry errors or members of the type's own, which the service's OpenAPI document describes. When to ask again is the Retry-After header.

Declared by