# \#grpc

**URL:** https://forum.canton.network/tag/grpc/7.md

[Latest](https://forum.canton.network/latest.md) · [Categories](https://forum.canton.network/categories.md) · [Tags](https://forum.canton.network/tags.md)

---

## [GRPC Api submit and wait for Archive choice](https://forum.canton.network/t/grpc-api-submit-and-wait-for-archive-choice/8230)

<div class="topic-metadata">

**Author:** [@David\_Martins](https://forum.canton.network/u/David_Martins)\
**Replies:** 3\
**Last updated:** [October 14, 2025, 8:46am UTC](https://forum.canton.network/t/grpc-api-submit-and-wait-for-archive-choice/8230 "2025-10-14T08:46:19Z")

</div>

Hello, We have an ongoing project targeting Daml 3.x and the canton network and have deployed an artifact into Devnet. Now we wanted to clear the ledger info for this package and we were attempting to run a Archive comm…

---

## [What are the allowed characters and max length for DAML Party literals/names?](https://forum.canton.network/t/what-are-the-allowed-characters-and-max-length-for-daml-party-literals-names/164)

<div class="topic-metadata">

**Author:** [@viv.diwakar](https://forum.canton.network/u/viv.diwakar)\
**Replies:** 3\
**Last updated:** [October 8, 2025, 1:19pm UTC](https://forum.canton.network/t/what-are-the-allowed-characters-and-max-length-for-daml-party-literals-names/164 "2025-10-08T13:19:43Z")

</div>

Hi team, When using the SDK daml ledger allocate-parties ... command, what are the permitted characters? I know ^ is not, and gives me daml-helper: GRPCIOBadStatusCode StatusInternal (StatusDetails {unStatusDetails = "…

---

## [Grpcurl sample for TransactionService.GetTransactions in Canton 2.x](https://forum.canton.network/t/grpcurl-sample-for-transactionservice-gettransactions-in-canton-2-x/7593)

<div class="topic-metadata">

**Author:** [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Replies:** 3\
**Last updated:** [January 14, 2025, 8:42pm UTC](https://forum.canton.network/t/grpcurl-sample-for-transactionservice-gettransactions-in-canton-2-x/7593 "2025-01-14T20:42:58Z")

</div>

Is there a sample of using grpcurl to call the gRPC method TransactionService.GetTransactions. I’m having trouble getting the filters\_by\_party correct.

---

## [Constructing a gRPC exercise command by Hand](https://forum.canton.network/t/constructing-a-grpc-exercise-command-by-hand/5967)

<div class="topic-metadata">

**Author:** [@Darko](https://forum.canton.network/u/Darko)\
**Replies:** 9\
**Last updated:** [October 23, 2024, 6:38pm UTC](https://forum.canton.network/t/constructing-a-grpc-exercise-command-by-hand/5967 "2024-10-23T18:38:41Z")

</div>

Hi all, I’m trying to construct an exercise command by hand and send it to the LedgerAPI using Postman. Unfortunately, I’m getting an error, and I was hoping someone could point me to what’s going wrong. The choice I …

---

## [Order of GRPC errors with command deduplication](https://forum.canton.network/t/order-of-grpc-errors-with-command-deduplication/7378)

<div class="topic-metadata">

**Author:** [@David\_Martins](https://forum.canton.network/u/David_Martins)\
**Replies:** 4\
**Last updated:** [September 16, 2024, 2:09pm UTC](https://forum.canton.network/t/order-of-grpc-errors-with-command-deduplication/7378 "2024-09-16T14:09:23Z")

</div>

Hello all, I’m currently working in a project where we are implementing command deduplication under a BE that we are running. We are facing a situation with concurrent BEs capturing the same event with milliseconds of d…

---

## [Mismatching type error when accessing ledger api using grpcurl](https://forum.canton.network/t/mismatching-type-error-when-accessing-ledger-api-using-grpcurl/7282)

<div class="topic-metadata">

**Author:** [@ksm3](https://forum.canton.network/u/ksm3)\
**Replies:** 1\
**Last updated:** [July 8, 2024, 5:21pm UTC](https://forum.canton.network/t/mismatching-type-error-when-accessing-ledger-api-using-grpcurl/7282 "2024-07-08T17:21:06Z")

</div>

Hello, I am unable to exercise a choice on a contract using grpcurl against a sandbox ledger. Details are as follows: Command: grpcurl -plaintext -d '{ "commands": { "ledgerId": "sandbox", "applicationId": "…

---

## [How to get package\_id for submit\_command with gRPC](https://forum.canton.network/t/how-to-get-package-id-for-submit-command-with-grpc/6802)

<div class="topic-metadata">

**Author:** [@wilsonhsu0102](https://forum.canton.network/u/wilsonhsu0102)\
**Replies:** 4\
**Last updated:** [August 16, 2023, 2:36pm UTC](https://forum.canton.network/t/how-to-get-package-id-for-submit-command-with-grpc/6802 "2023-08-16T14:36:58Z")

</div>

Hi team, I am working on setting up a gRPC client to call the Daml ledger api from a Rails app. Following the Java example here: https://github.com/digital-asset/ex-java-bindings/blob/89052898bbdf9828f08ea039c87095bf65b…

---

## [Unable to load OpenSSL in canton executable](https://forum.canton.network/t/unable-to-load-openssl-in-canton-executable/6541)

<div class="topic-metadata">

**Author:** [@Marcin\_Ziolek](https://forum.canton.network/u/Marcin_Ziolek)\
**Replies:** 1\
**Last updated:** [May 12, 2023, 8:12am UTC](https://forum.canton.network/t/unable-to-load-openssl-in-canton-executable/6541 "2023-05-12T08:12:41Z")

</div>

I have noticed that when running canton by directly invoking it via its jar and configuring the TLS the application throws exception unable to load the required libraries. It then reverts to using the JDK version of the …

---

## [io.grpc.StatusRuntimeException: PERMISSION\_DENIED with Java Bindings against Daml Hub](https://forum.canton.network/t/io-grpc-statusruntimeexception-permission-denied-with-java-bindings-against-daml-hub/6247)

<div class="topic-metadata">

**Author:** [@VictorShneer](https://forum.canton.network/u/VictorShneer)\
**Replies:** 2\
**Last updated:** [March 21, 2023, 4:28pm UTC](https://forum.canton.network/t/io-grpc-statusruntimeexception-permission-denied-with-java-bindings-against-daml-hub/6247 "2023-03-21T16:28:01Z")

</div>

Hello everybody! Here is my error: java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: PERMISSION\_DENIED: An error occurred. Please contact the operator and inquire about the request \<no-correlatio…

---

## [Run Daml Script agains Canton (in docker)](https://forum.canton.network/t/run-daml-script-agains-canton-in-docker/5043)

<div class="topic-metadata">

**Author:** [@VictorShneer](https://forum.canton.network/u/VictorShneer)\
**Replies:** 5\
**Last updated:** [August 8, 2022, 12:21pm UTC](https://forum.canton.network/t/run-daml-script-agains-canton-in-docker/5043 "2022-08-08T12:21:17Z")

</div>

Hi daml community! I’m running canton inside docker container. I can upload dar files to the container using ledger api json\_api I can map dar file from local files to container volume on container startup If I use 3…

---

## [How to expose transactions from the Java bindings through a blocking API?](https://forum.canton.network/t/how-to-expose-transactions-from-the-java-bindings-through-a-blocking-api/4981)

<div class="topic-metadata">

**Author:** [@stefanobaghino-da](https://forum.canton.network/u/stefanobaghino-da)\
**Replies:** 3\
**Last updated:** [July 27, 2022, 6:21pm UTC](https://forum.canton.network/t/how-to-expose-transactions-from-the-java-bindings-through-a-blocking-api/4981 "2022-07-27T18:21:19Z")

</div>

Suppose I want to expose transactions coming from the Java bindings (with the gRPC/RxJava back pressure bridge) through a pull-based interface (that I have no control over). Something along the lines of: @Override publi…

---

## [GRPCIOTimeout with daml deploy when running within a docker container](https://forum.canton.network/t/grpciotimeout-with-daml-deploy-when-running-within-a-docker-container/2539)

<div class="topic-metadata">

**Author:** [@perbergman](https://forum.canton.network/u/perbergman)\
**Replies:** 5\
**Last updated:** [April 5, 2022, 12:07pm UTC](https://forum.canton.network/t/grpciotimeout-with-daml-deploy-when-running-within-a-docker-container/2539 "2022-04-05T12:07:07Z")

</div>

Thanks! I get “daml-helper: GRPCIOTimeout” after a few seconds when running daml deploy targeting daml-on-sql running in a Docker container and nothing logged. Is there a way to turn up logging? Per

---

## [Error when calling the com.daml.ledger.api.v1.CommandSubmissionService.Submit via grpcurl command line](https://forum.canton.network/t/error-when-calling-the-com-daml-ledger-api-v1-commandsubmissionservice-submit-via-grpcurl-command-line/3095)

<div class="topic-metadata">

**Author:** [@k\_a](https://forum.canton.network/u/k_a)\
**Replies:** 9\
**Last updated:** [September 13, 2021, 7:38am UTC](https://forum.canton.network/t/error-when-calling-the-com-daml-ledger-api-v1-commandsubmissionservice-submit-via-grpcurl-command-line/3095 "2021-09-13T07:38:58Z")

</div>

Hi, We are facing an issue when calling the Ledger API using Grpcurl from command line. We are trying to submitting the json payload using grpcurl command and we are getting the error back whereby we feel that we are p…

---

## [Daml ledger upload-dar gives GRPCIOTimeout](https://forum.canton.network/t/daml-ledger-upload-dar-gives-grpciotimeout/2743)

<div class="topic-metadata">

**Author:** [@Richard\_Kapolnai](https://forum.canton.network/u/Richard_Kapolnai)\
**Replies:** 12\
**Last updated:** [June 23, 2021, 11:17am UTC](https://forum.canton.network/t/daml-ledger-upload-dar-gives-grpciotimeout/2743 "2021-06-23T11:17:10Z")

</div>

I have a small x.dar (312K), and I launch an empty Daml Sandbox with daml sandbox, then I get this: daml ledger upload-dar --host localhost --port 6865 x.dar Uploading x.dar to localhost:6865 An exception was thrown dur…

---

## [When is RESOURCE\_EXHAUSTED returned by the command submission/completion services?](https://forum.canton.network/t/when-is-resource-exhausted-returned-by-the-command-submission-completion-services/1570)

<div class="topic-metadata">

**Author:** [@Stephen](https://forum.canton.network/u/Stephen)\
**Replies:** 4\
**Last updated:** [March 18, 2021, 12:44am UTC](https://forum.canton.network/t/when-is-resource-exhausted-returned-by-the-command-submission-completion-services/1570 "2021-03-18T00:44:32Z")

</div>

When you submit-and-wait for a command, the ledger API explicitly declares that RESOURCE\_EXHAUSTED may be returned in certain circumstances. service CommandService { // Submits a single composite command and waits fo…

---

## [What exactly is a known party to a participant node if is\_local is false?](https://forum.canton.network/t/what-exactly-is-a-known-party-to-a-participant-node-if-is-local-is-false/1980)

<div class="topic-metadata">

**Author:** [@Richard\_Kapolnai](https://forum.canton.network/u/Richard_Kapolnai)\
**Replies:** 4\
**Last updated:** [January 26, 2021, 3:23pm UTC](https://forum.canton.network/t/what-exactly-is-a-known-party-to-a-participant-node-if-is-local-is-false/1980 "2021-01-26T15:23:45Z")

</div>

What does knowing a party mean? The Identity Management mentions that there can be parties allocated on a node, and others allocated elsewhere, still known to that node. Bonus question: how can we let a node know a par…

---

## [Filters in gRPC API and action consequences](https://forum.canton.network/t/filters-in-grpc-api-and-action-consequences/1661)

<div class="topic-metadata">

**Author:** [@oggy](https://forum.canton.network/u/oggy)\
**Replies:** 4\
**Last updated:** [November 18, 2020, 1:07pm UTC](https://forum.canton.network/t/filters-in-grpc-api-and-action-consequences/1661 "2020-11-18T13:07:56Z")

</div>

The gRPC API exposes a filtering mechanism for subscriptions: Say I use a filter in GetTransactionsRequest that specifies only a single party P and a single template T, and there’s an exercise event on some instance o…

---

## [Lookupbykey race condition?](https://forum.canton.network/t/lookupbykey-race-condition/354)

<div class="topic-metadata">

**Author:** [@dliakakos](https://forum.canton.network/u/dliakakos)\
**Replies:** 3\
**Last updated:** [May 6, 2020, 12:19pm UTC](https://forum.canton.network/t/lookupbykey-race-condition/354 "2020-05-06T12:19:26Z")

</div>

We have a choice Foo on an instance of a template A that looks up by key (lookupbykey) a singleton instance of a template B. It then exercises a choice on B which recycles the instance of B (with new data but same contra…

---

## [Handling expired credentials](https://forum.canton.network/t/handling-expired-credentials/127)

<div class="topic-metadata">

**Author:** [@Piyush\_Bedi](https://forum.canton.network/u/Piyush_Bedi)\
**Replies:** 1\
**Last updated:** [April 15, 2020, 6:10am UTC](https://forum.canton.network/t/handling-expired-credentials/127 "2020-04-15T06:10:06Z")

</div>

Does the Ledger API server disconnect sessions that have expired credentials? Assuming a Ledger API Server that is operating with Auth and an outbound/streaming session is established with valid (and more importantly un…
