---
title: "getException"
method: GET
path: "/exceptions/{tguid}/{pguid}"
tags: ["exceptions"]
---

# getException

`GET /exceptions/{tguid}/{pguid}`

This method returns an exception for a given person/transaction.

## Path parameters

- `tguid` string, required
- `pguid` string, required

## Response `200`

OK

- GetExceptionsResponse
  - `data` Exception
    - `enrollPguid` string — Global unique ID of the person.
    - `enrollTguid` string — Global unique ID of the transaction.
    - `transactionTimestamp` integer — Timestamp of the transaction that generated the Exception.
    - `match` Match
      - `matchedPersonPguid` string — PGUID of the person the candidate was matched against.
      - `matchedPersonTguid` string — TGUID of the person the candidate was matched against.
      - `biometricMatches` BiometricMatch[] — Information about the match.
        - `score` integer — Score of the match.
        - `queryIndex` integer — Index of the biometric data that was sent and caused a match.
        - `referenceIndex` integer — Index of the biometric data, from the already enrolled person, which matched.
        - `minutia` Minutiae[] — Array of minutia matches. Returned only for latent searches.
          - `query` integer — Index of Minutiae, from the provided biometric data, which was involved in the match.
          - `reference` integer — Index of Minutiae, from biometric data already in the database, which was involved in the match.
    - `assignedUser` string — Username of user tasked with treating the exception.
    - `exceptionAnalysis` ExceptionAnalysis
      - `status` 'ANALYSIS' | 'DIFFERENT_FINGERS' | 'SAME_FINGERS' | 'INCORRECT_ENROLL' | 'RECOLLECT' | 'MERGE_TRANSACTIONS' | 'APPROVE' | 'REJECT' | 'ERROR' — Status of the exception.
      - `exceptionTimestamp` integer — Timestamp of the exception. This is the timestamp that should be used during exception listing/filtering.
      - `user` string — User that performed the analysis of the exception. Used only if LDAP is not active.
      - `comments` string — Comments made by the user.
    - `transactionType` 'ENROLL' | 'UPDATE' — Type of the transaction that generated the exception.

## Other responses

- `404` — Enrollment transaction does not exist, the exception does not exist
- `500` — Internal Error

---

[API](https://skmtc.net/griaule/apis/gbds-api.md) · [All operations](https://skmtc.net/griaule/apis/gbds-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/griaule/gbds-api/versions/fa80f482ec5e/schema)
