<!-- 0Gkit docs — JOBS_JOB_NOT_FOUND
     Source: https://docs.0gkit.com/errors/JOBS_JOB_NOT_FOUND
     LLM-friendly Markdown twin of the page. -->

# JOBS_JOB_NOT_FOUND

**Job ID not found**

## What happened

A `jobs.get(id)` / `jobs.cancel(id)` call referenced a job that doesn't exist or has been purged.

## How to fix

Check the job ID is correct. If the job is older than the retention window, it may have been purged — adjust `retentionMs` on the runner config.

## Example

```ts
import { JobRunner } from "@foundryprotocol/0gkit-jobs";

// `status()` / `cancel()` throw JOBS_JOB_NOT_FOUND when no row matches.
await runner.status("00000000-deadbeef");
```

## Reference

- Namespace: `JOBS`
- Help URL: `https://0gkit.com/errors/JOBS_JOB_NOT_FOUND`
- See also: [all error codes](/errors)
