How can I increase gRPC limit in daml.yaml file

Hi team,

In Daml 2.0, how can I increase gRPC limit in daml.yaml file?

I am currently getting below error: “io.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: gRPC message exceeds maximum size 4194304: 5612223”

thanks,
Dorrit

Where do you see that error? on the ledger, in daml studio, somewhere else?

It was from the sandbox running locally but now all good after I added json-api-options param in daml.yaml file. Thanks @cocreature

Here is the details I put in daml.yaml.
json-api-options:

  • –max-inbound-message-size=6000000