---
search:
  exclude: true
---

# <a id="bitdrift.public.unary.issues.v1.Issue"></a>Issue

| Field | Type | Description |
|---|---|---|
| reason | <span class="proto-type proto-type-primitive">string</span> | The reason for the issue. This should match the reason in the issue group. |
| context | <span class="proto-type proto-type-primitive">string</span> | The grouping context for the crash. This should match the grouping context in the issue group. |
| details | <span class="proto-type proto-type-primitive">string</span> | The extra details for the issue. This will not necessarily match the details in the issue group. |
| time | <span class="proto-type proto-type-well-known">[google.protobuf.Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp){ title="google.protobuf.Timestamp"}</span> | When the issue occurred. |
| platform | <span class="proto-type proto-type-message">[<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">shared</i><i class="proto-type-dot">.</i><i class="proto-type-part">platform</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">Platform</i>](bitdrift_public_shared_platform_v1_Platform.md#bitdrift.public.shared.platform.v1.Platform){ title="bitdrift.public.shared.platform.v1.Platform"}</span> | Information about the device that the issue occurred on. |
| app_id | <span class="proto-type proto-type-primitive">string</span> |  |
| app_version | <span class="proto-type proto-type-primitive">string</span> |  |
| build_id | <span class="proto-type proto-type-primitive">string</span> |  |
| model | <span class="proto-type proto-type-primitive">string</span> |  |
| foreground | <span class="proto-type proto-type-primitive">bool</span> |  |
| network_type | <span class="proto-type proto-type-primitive">string</span> |  |
| radio_type | <span class="proto-type proto-type-primitive">string</span> |  |
| locale | <span class="proto-type proto-type-primitive">string</span> |  |
| report_type | <span class="proto-type proto-type-primitive">string</span> |  |
| report | <span class="proto-type proto-type-message">[<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">issues</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">Report</i>](bitdrift_public_unary_issues_v1_Report.md#bitdrift.public.unary.issues.v1.Report){ title="bitdrift.public.unary.issues.v1.Report"}</span> |  |
| id | <span class="proto-type proto-type-primitive">string</span> | The unique identifier for the issue. |
| session_id | <span class="proto-type proto-type-primitive">optional string</span> | The unique id of the session that this issue occurred within. |

#### Example
```json
{
  "app_id": "io.bitdrift.gradletestapp",
  "app_version": "1.0",
  "build_id": "66",
  "context": "[anon:dalvik-free list large object space]+0x48768cb",
  "details": "Bus error (bad memory access)",
  "foreground": true,
  "id": "7bbc674a-a617-4a0d-a721-03a3e4e31792",
  "locale": "en_US",
  "model": "Android SDK built for arm64",
  "network_type": "wlan",
  "platform": {
    "apple": {
      "apps": [
        {
          "app_id": "com.example.app"
        }
      ]
    }
  },
  "radio_type": "hspa",
  "reason": "SIGBUS",
  "report": {
    "app_metrics": {
      "app_id": "com.example.app",
      "bundle_version": "1024",
      "version": "2.1.0"
    },
    "device_metrics": {
      "architecture": "ARM64",
      "battery_level": 72,
      "manufacturer": "Apple",
      "model": "iPhone15,2",
      "os": "iOS",
      "os_version": "17.4.1",
      "power_state": "RUNNING_ON_BATTERY",
      "time": "2024-01-15T09:30:00Z",
      "user_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    },
    "errors": [
      {
        "details": "Attempted to dereference a null pointer",
        "frames": [
          {
            "frame_address": 4376830024,
            "frame_type": "DWARF",
            "image_id": "8c4e2a1b-3f56-4d89-a012-bc345678def0",
            "image_load_address": 4376829952,
            "image_path": "/usr/lib/libSystem.dylib",
            "in_app": false,
            "original_index": 3,
            "source_file": {
              "column": 5,
              "lineno": 42,
              "path": "src/main.rs"
            },
            "state": [
              "crashed"
            ],
            "status": "SYMBOLICATED",
            "symbol_address": 4376829952,
            "symbol_name": "_ZN5alloc5alloc18handle_alloc_error17h123456789abcdef0E",
            "symbolicated_name": "alloc::alloc::handle_alloc_error"
          }
        ],
        "reason": "EXC_BAD_ACCESS"
      }
    ],
    "fields": [
      {
        "key": "device_orientation",
        "value": "portrait"
      }
    ],
    "thread_details": {
      "threads": [
        {
          "active": true,
          "frames": [
            {
              "frame_address": 4376830024,
              "frame_type": "DWARF",
              "image_id": "8c4e2a1b-3f56-4d89-a012-bc345678def0",
              "image_load_address": 4376829952,
              "image_path": "/usr/lib/libSystem.dylib",
              "in_app": false,
              "original_index": 3,
              "source_file": {
                "column": 5,
                "lineno": 42,
                "path": "src/main.rs"
              },
              "state": [
                "crashed"
              ],
              "status": "SYMBOLICATED",
              "symbol_address": 4376829952,
              "symbol_name": "_ZN5alloc5alloc18handle_alloc_error17h123456789abcdef0E",
              "symbolicated_name": "alloc::alloc::handle_alloc_error"
            }
          ],
          "index": 0,
          "name": "com.apple.main-thread",
          "priority": 47.0,
          "quality_of_service": 33,
          "state": "TH_STATE_WAITING"
        }
      ],
      "total_threads": 12
    }
  },
  "report_type": "NativeCrash",
  "session_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "time": "2024-01-15T09:30:00Z"
}
```

