Skip to content
View as Markdown

GetIssueResponse

Field Type Description
issue bitdrift.public.unary.client_report.v1.Issue
status bitdrift.public.unary.client_report.v1.GetIssueResponse.Status The status of the issue. If set to FOUND, the issue was found and the details are available.

Example

JSON
{
  "issue": {
    "app_id": "com.example.app",
    "app_version": "2.1.0",
    "build_id": "1024",
    "context": "alloc::alloc::handle_alloc_error",
    "details": "Attempted to dereference a null pointer",
    "foreground": false,
    "id": "b5bb9d80-14a0-f9b1-d61e-21e796d78dcc",
    "locale": "en_US",
    "model": "iPhone15,2",
    "network_type": "wifi",
    "platform": {
      "apple": {
        "apps": [
          {
            "app_id": "com.example.app"
          }
        ]
      }
    },
    "radio_type": "LTE",
    "reason": "EXC_BAD_ACCESS",
    "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": "crash",
    "session_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "time": "2024-01-15T09:30:00Z"
  },
  "status": "FOUND"
}

GetIssueResponse.Status

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.