---
title: oban.job.stop
description: An Oban job finished without an error.
url: https://docs.honeybadger.io/insights/event-types/elixir/oban.job.stop/
---

An Oban job finished without an error.

Source **Oban** Category **Jobs** Fields **12** [honeybadger-elixir](https://docs.honeybadger.io/lib/elixir/)

## Fields

| Field        | Type           | Description                                                                                                            |
| ------------ | -------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `event_type` | string         | Allowed value: `oban.job.stop`.                                                                                        |
| `id`         | integer        | Oban job database ID.                                                                                                  |
| `worker`     | string         | Worker module name.                                                                                                    |
| `queue`      | string         | Queue the job ran on.                                                                                                  |
| `state`      | string         | Final job state, e.g. "success", "cancelled", "discard".                                                               |
| `attempt`    | integer        | Attempt number (1-based).                                                                                              |
| `prefix`     | string         | Oban database prefix (schema).                                                                                         |
| `tags`       | array\<string> | Tags assigned to the job.                                                                                              |
| `args`       | object         | Job arguments map.                                                                                                     |
| `args.*`     | any            | Additional caller-defined keys.                                                                                        |
| `duration`   | number         | Job execution duration in microseconds.                                                                                |
| `request_id` | string         | Request ID propagated from the originating request via Oban job metadata, or a newly generated ID for background jobs. |

## Example

```json
{
  "event_type": "oban.job.stop",
  "id": 123456,
  "worker": "MyApp.Workers.WelcomeEmail",
  "queue": "default",
  "state": "success",
  "attempt": 1,
  "prefix": "public",
  "tags": [
    "mailer"
  ],
  "args": {
    "user_id": 42
  },
  "duration": 350000,
  "request_id": "f2a9c81d4e6b3a7f0c5d9e2b8a4f6c1d"
}
```

---

## Try Honeybadger for FREE

Intelligent logging, error tracking, and Just Enough APM™ in one dev-friendly platform. Find and fix problems before users notice.

[Start free trial](https://app.honeybadger.io/users/sign_up)

[See plans and pricing](https://www.honeybadger.io/plans/)
