Getting issue on daml hub ledger for some env
- pratikkediaOP
{
“errors”: [
“RESOURCE_EXHAUSTED: gRPC message exceeds maximum size 67108864: 89995179”
],
“ledgerApiError”: {
“code”: 8,
“details”: ,
“message”: “gRPC message exceeds maximum size 67108864: 89995179”
},
“status”: 429
}how can we fix this?
- eslaboncarl
Identify the call that’s failing
- Check logs or add logging around Ledger API calls to see which method returns the error.
Try to reduce the payload
- Use filters, smaller time ranges, paging, or split your work across multiple calls.
If still needed, bump the size:
-
Increase gRPC max receive message size on the client.
-
If you control the Ledger API server / Canton participant, increase the server-side max as well (up to whatever your ops team is comfortable with).