---
title: tesla.request.exception
description: A Tesla HTTP request raised an exception. By default, Honeybadger stores only the hostname. Enable full_url in insights_config to include the path. If Tesla uses Finch, Honeybadger records the Finch event instead of a second Tesla event.
url: https://docs.honeybadger.io/insights/event-types/elixir/tesla.request.exception/
---

A Tesla HTTP request raised an exception. By default, Honeybadger stores only the hostname. Enable full\_url in insights\_config to include the path. If Tesla uses Finch, Honeybadger records the Finch event instead of a second Tesla event.

Source **Tesla** Category **HTTP** Fields **7** [honeybadger-elixir](https://docs.honeybadger.io/lib/elixir/)

## Fields

| Field         | Type    | Description                                       |
| ------------- | ------- | ------------------------------------------------- |
| `event_type`  | string  | Allowed value: `tesla.request.exception`.         |
| `method`      | string  | HTTP method in uppercase, e.g. "GET", "POST".     |
| `host`        | string  | Destination hostname.                             |
| `status_code` | integer | HTTP response status code.                        |
| `url`         | string  | Full request URL. Present when full\_url is true. |
| `duration`    | number  | Request round-trip duration in microseconds.      |
| `request_id`  | string  | Request ID from the current EventContext.         |

## Example

```json
{
  "event_type": "tesla.request.exception",
  "method": "POST",
  "host": "api.example.com",
  "status_code": 500,
  "url": "https://api.example.com/v1/payments",
  "duration": 30000,
  "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/)
