# Batched submission Issue - DEADLINE\_EXCEEDED: REQUEST\_TIME\_OUT

**URL:** <https://forum.canton.network/t/batched-submission-issue-deadline-exceeded-request-time-out/6052>\
**Category:** App Development\
**Tags:** daml, features and bugs, daml-sdk, canton, ledger-api\
**Created:** [February 1, 2023, 10:36am UTC](https://forum.canton.network/t/batched-submission-issue-deadline-exceeded-request-time-out/6052 "2023-02-01T10:36:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Turan](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@Turan](https://forum.canton.network/u/Turan)\
**Post date:** [February 1, 2023, 10:36am UTC](https://forum.canton.network/t/batched-submission-issue-deadline-exceeded-request-time-out/6052/1 "2023-02-01T10:36:59Z")

</div>

We’re submitting circa ~400 independent transactions in one submission (so have ruled out contention) via the java bindings and getting the below error:

DEADLINE\_EXCEEDED: REQUEST\_TIME\_OUT(3,e1d63187): Timed out while awaiting for a completion corresponding to a command submission.

What parameters can we change to increase this time out? Is this a client side issue or do the participant/sequencer nodes have a config to increase this.

---

<div class="post-metadata">

**Author:** ![stefanobaghino-da](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/stefanobaghino-da/32/7057_2.png) [@stefanobaghino-da](https://forum.canton.network/u/stefanobaghino-da)\
**Post date:** [February 1, 2023, 12:59pm UTC](https://forum.canton.network/t/batched-submission-issue-deadline-exceeded-request-time-out/6052/2 "2023-02-01T12:59:57Z")

</div>

> [@Turan](#):
>
> We’re submitting circa ~400 independent transactions in one submission (so have ruled out contention)

To make it clear, you cannot submit independent transactions. You can submit a number of commands which are going to result in a single transaction.

> [@Turan](#):
>
> What parameters can we change to increase this time out? Is this a client side issue or do the participant/sequencer nodes have a config to increase this.

Looking at [the documentation for REQUEST\_TIME\_OUT](https://docs.daml.com/app-dev/grpc/error-codes.html#request-time-out) I would say it’s reported by the participant node and can be solved by either bumping the configuration for that timeout (I don’t know the specific configuration key, I’ll let someone else reply). I would say it might be a possibility (but I’m not 100% sure) that despite being reported by the participant node the timeout is triggered by something still being in flight while the `CommandService` is doing the command completion tracking for you. A possibility is for you to use the `CommandSubmissionService` and `CommandCompletionService` instead of delegating completion tracking to the `CommandService`, which is more complex but allows you to manage this kind of issues on the application side (instead of setting the limit for the whole participant node).

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [February 1, 2023, 1:19pm UTC](https://forum.canton.network/t/batched-submission-issue-deadline-exceeded-request-time-out/6052/3 "2023-02-01T13:19:04Z")

</div>

Note that while you can bump some timeouts, you cannot make transactions arbitrarily large. At some point you’ll hit time model issues so you also have to bump time model skews and generally this is not how a Daml ledger is suposed to be used.

I’d stick to batches of around ~100 but ofc it depends on how big an individual element in your batch is.
