422 Unprocessable Entity

Every error of the Spillard Connect API is an RFC 9457 application/problem+json body whose type points here. Branch on errorCode, never on title or detail.

Not retryable as is: change the request, the token or the target before sending it again.

errorCodeMeaning
audit_form.requiredThe fleet requires a video audit form for this action, which the API cannot submit. Do it in the Spillard web app.
validation.reference_not_foundAn id in the body (for example `fleetId`) does not exist or is outside your client's access. Send an id your client may read.
vehicle.driver_fleet_mismatchThe vehicle and the driver are in different fleets. Use a driver of the vehicle's fleet, or move the vehicle first.

The full registry is the top-level x-error-codes list (and the ErrorCode schema) of /openapi/v1.json; the API reference is at /scalar.