---
title: absinthe.execute.operation.exception
description: An Absinthe GraphQL operation raised an exception. Uses the same fields as absinthe.execute.operation.stop.
url: https://docs.honeybadger.io/insights/event-types/elixir/absinthe.execute.operation.exception/
---

An Absinthe GraphQL operation raised an exception. Uses the same fields as absinthe.execute.operation.stop.

Source **Absinthe** Category **GraphQL** Fields **8** [honeybadger-elixir](https://docs.honeybadger.io/lib/elixir/)

## Fields

| Field            | Type           | Description                                               |
| ---------------- | -------------- | --------------------------------------------------------- |
| `event_type`     | string         | Allowed value: `absinthe.execute.operation.exception`.    |
| `operation_name` | string         | Named operation from the GraphQL query, if present.       |
| `operation_type` | string         | Operation type: "query", "mutation", or "subscription".   |
| `selections`     | array\<string> | Top-level field names selected in the operation.          |
| `schema`         | string         | Absinthe schema module name.                              |
| `errors`         | array\<object> | GraphQL errors returned in the result, if any.            |
| `duration`       | number         | Duration in microseconds before the exception was raised. |
| `request_id`     | string         | Request ID from the current EventContext.                 |

## Example

```json
{
  "event_type": "absinthe.execute.operation.exception",
  "operation_name": "CreateUser",
  "operation_type": "mutation",
  "selections": [
    "createUser"
  ],
  "schema": "Elixir.MyAppWeb.Schema",
  "errors": [
    {
      "message": "An unexpected error occurred",
      "path": [
        "createUser"
      ]
    }
  ],
  "duration": 12000,
  "request_id": "F8ZBOg1zcBQDqDgAAADx"
}
```

---

## 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/)
