> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# GetLastErrors

Shared Administration

›

[Protobuf](https://docs.canton.network/reference/admin-api/protobuf/overview.md)

›

[com.digitalasset.canton.admin.health.v30](https://docs.canton.network/reference/admin-api/protobuf/packages/com-digitalasset-canton-admin-health-v30.md)

›

GetLastErrors

com.digitalasset.canton.admin.health.v30

# GetLastErrors

gRPC

[Removed in 3.5.1](#history-removed-3-5-1)

RPC

`/com.digitalasset.canton.admin.health.v30.StatusService/GetLastErrors`

**Removed in 3.5.1.** Historical definition from 3.4.11.

## Protocol Details

Protocol
gRPC

Service
StatusService

RPC
GetLastErrors

Client stream
No

Server stream
No

## Inputs

### GetLastErrorsRequest

Message
com.digitalasset.canton.admin.health.v30.GetLastErrorsRequest

Client stream
No

## Outputs

### GetLastErrorsResponse

Message
com.digitalasset.canton.admin.health.v30.GetLastErrorsResponse

Server stream
No

`errors`
repeated Error

## Related Schemas

> [accordion] com.digitalasset.canton.admin.health.v30.GetLastErrorsRequest

> [accordion] com.digitalasset.canton.admin.health.v30.GetLastErrorsResponse
>
> `errors`
> repeated Error

> [accordion] com.digitalasset.canton.admin.health.v30.GetLastErrorsResponse.Error
>
> `trace_id`
> string
>
> `message`
> string

## History

Removed in
`3.5.1`

Last available in 3.4.11. Retained for historical reference.

grpcurl

```bash grpcurl theme={"theme":{"light":"github-light","dark":"github-dark"}}
# Add -plaintext if the server is not using TLS.
grpcurl \
  -d @ \
  <HOST:PORT> \
  com.digitalasset.canton.admin.health.v30.StatusService/GetLastErrors <<'EOF'
{}
EOF
```

OK

application/json

```json OK theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "errors": [
    {
      "traceId": "string",
      "message": "string"
    }
  ]
}
```
