Skip to content
View as Markdown

GetIssueResponse

Source definition: src/bitdrift/public/unary/issues/v1/issues.proto#L324-L340

Field Type Description
issue bitdrift.public.unary.issues.v1.Issue
status bitdrift.public.unary.issues.v1.GetIssueResponse.Status
must be a defined enum value
The status of the issue. If set to FOUND, the issue was found and the details are available.

Example

JSON
{
  "issue": {
    "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"
  },
  "status": "FOUND"
}

GetIssueResponse.Status Enum

Source definition: src/bitdrift/public/unary/issues/v1/issues.proto#L327-L336

Name Number Description
FOUND 0
NOT_FOUND 1 No reference to the issue was found.
PENDING 2 The issue is still pending processing (or something went wrong).
FAILED 3 The issue was processed but an error occurred during processing which prevents the stacktrace from being available. Note that we don't expose the failure reason as this is not useful to the user.