Using Record Type Responses to Select Further Options
I have some custom Record Types that relate to a few Templates, but I wanted to see how the use of a certain Type + it’s reply could make a further action available, or not.
data ConsultMedicationList = ConsultMedicationList -- Treatment medications
with
repeats : Bool -- Default No, skip over the 'Prescription choice', ELSE continue
itemName01 : Text -- Start Prescription choice
itemName01Qty : Int
itemName02 : Text
itemName02Qty : Int
itemName03 : Text
itemName03Qty : Int
itemName04 : Text
itemName04Qty : Int
itemName05 : Text
itemName05Qty : Int
dateOfIssue : Date -- End Prescription choice
notes : Text
deriving (Eq, Show)
If I encode the full Record Type for the prescribing of Medications for a Patient, in my mind it is both ungainly, and when logged in via the UI, very time-consuming to fill in say 10 fields, as per this example. With a complex medications profile (More than 10 prescribed Medications), this would be inefficient.
Two questions:
- If the response to
repeats : Boolis not No/False, then how can I make the rest of the prescription block available? - Can I have a List-type scenario where a new prescription and quantity are entered but only as needed? So there is no need for hard-encoded
name : Text&nameQty : Intx Quantity.
I trawled for about 60 minutes looking for a possible solution using IF / ELSE, or ForA Loops and I see that is a lot of flexibility for conditional actions in the main Template bodies or controllers. However I have seen nothing relating to such trickery in Record Types.
Can someone please point me to the relevant documentation?
Not quite sure if I understand your question correctly but defining more data types in combination with standard data types like Optional to indicate that something (the prescription choice in your example) might not always be present seem like it might be what you’re after:
data Item = Item
with
name : Text
quantity : Int
deriving (Eq, Show)
data PrescriptionChoice = PrescriptionChoice
with
items : [Item]
dateOfIssue : Date
deriving (Eq, Show)
data ConsultMedicationList = ConsultMedicationList -- Treatment medications
with
prescriptionChoice : Optional PrescriptionChoice
notes : Text
deriving (Eq, Show)
Hey @cocreature Thank you for that, I re-read my question and it was not as clear as it should be 
So conceptually I was after repeats : Bool ← with an answer of Yes/True to be an ON/OFF switch. That example looks like it can be that, I’ll test it ASAP

UPDATE: That worked exactly as what I was looking for, thank you very much 
Error JSON.parse: unexpected character at line 1 column 1 of the JSON data is back. The contracts will fail to execute, on a random basis, so I think this is a system issue, not a Daml issue.
Here is the Navigator.log from the last sequence.
Navigator.log
10:14:27.196 [main] INFO com.daml.navigator.config.Config$ - Loading SDK config file from /home/quid/Projects/daml/code/fruitshop/daml.yaml
10:14:28.380 [da-ui-backend-akka.actor.default-dispatcher-6] INFO akka.event.slf4j.Slf4jLogger - Slf4jLogger started
10:14:28.634 [da-ui-backend-akka.actor.default-dispatcher-6] INFO c.d.n.store.platform.PlatformStore - Connecting to localhost:6865, using a plaintext connection akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-7, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:28.629UTC
10:14:30.366 [main] INFO com.daml.navigator.NavigatorBackend$ - DA UI backend server listening on port 7500
10:14:30.864 [da-ui-backend-akka.actor.default-dispatcher-6] INFO c.d.n.store.platform.PlatformStore - Time service is not implemented akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-7, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:30.864UTC
10:14:30.877 [da-ui-backend-akka.actor.default-dispatcher-6] INFO c.d.n.store.platform.PlatformStore - Connected to platform at 'localhost:6865' akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-11, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:30.876UTC
10:14:30.886 [da-ui-backend-akka.actor.default-dispatcher-12] INFO c.d.n.store.platform.PlatformStore - Starting actor for Fruit Boss akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-11, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:30.885UTC
10:14:33.554 [da-ui-backend-akka.actor.default-dispatcher-9] INFO c.d.n.store.platform.PlatformStore - Starting actor for Fruit Check akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-11, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:33.554UTC
10:14:33.638 [da-ui-backend-akka.actor.default-dispatcher-9] INFO c.d.n.store.platform.PlatformStore - Starting actor for Fruit Orchard akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-11, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:33.636UTC
10:14:33.749 [da-ui-backend-akka.actor.default-dispatcher-12] INFO c.d.n.store.platform.PlatformStore - Starting actor for Fruit Box akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-11, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:33.749UTC
10:14:33.860 [da-ui-backend-akka.actor.default-dispatcher-8] INFO c.d.n.store.platform.PlatformStore - Starting actor for Fruit Help akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-9, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:33.860UTC
10:14:33.951 [da-ui-backend-akka.actor.default-dispatcher-8] INFO c.d.n.store.platform.PlatformStore - Starting actor for Fruit Bat akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-9, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:33.951UTC
10:14:34.044 [da-ui-backend-akka.actor.default-dispatcher-12] INFO c.d.n.store.platform.PlatformStore - Starting actor for Fruit Man akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-9, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:34.038UTC
10:14:34.122 [da-ui-backend-akka.actor.default-dispatcher-11] INFO c.d.n.store.platform.PlatformStore - Starting actor for Fruit Bad akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-9, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:34.122UTC
10:14:39.120 [da-ui-backend-akka.actor.default-dispatcher-9] INFO c.d.n.s.platform.PlatformSubscriber - Successfully loaded packages [86828b9843465f419db1ef8a8ee741d1eef645df02375ebf509cdc8c3ddd16cb, 56d053e2ea121cbffeb676dca73841814f3fa4d41e1b65b8a43773c224d5fbe5, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, f20de1e4e37b92280264c08bf15eca0be0bc5babd7a7b5e574997f154c00cb78, 3f4deaf145a15cdcfa762c058005e2edb9baa75bb7f95a4f8f6f937378e86415, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, cb0552debf219cc909f51cbb5c3b41e9981d39f8f645b1f35e2ef5be2e0b858a, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, 986dbb2e0cfd423ec0ce2d11fd4e8308e80ac6f7542b57c97ee6105ed96abedd, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, a2a7c3727ededc7810ba187c1a6d163d5286b8c4c27fcd8b50fc8519fe7bb704, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, 97b883cd8a2b7f49f90d5d39c981cf6e110cf1f1c64427a28a6d58ec88c43657] akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-9, akkaSource=akka://da-ui-backend/user/$a/party-Fruit+Boss, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:39.120UTC
10:14:39.123 [da-ui-backend-akka.actor.default-dispatcher-7] INFO c.d.n.s.platform.PlatformSubscriber - Successfully loaded packages [86828b9843465f419db1ef8a8ee741d1eef645df02375ebf509cdc8c3ddd16cb, 56d053e2ea121cbffeb676dca73841814f3fa4d41e1b65b8a43773c224d5fbe5, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, f20de1e4e37b92280264c08bf15eca0be0bc5babd7a7b5e574997f154c00cb78, 3f4deaf145a15cdcfa762c058005e2edb9baa75bb7f95a4f8f6f937378e86415, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, cb0552debf219cc909f51cbb5c3b41e9981d39f8f645b1f35e2ef5be2e0b858a, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, 986dbb2e0cfd423ec0ce2d11fd4e8308e80ac6f7542b57c97ee6105ed96abedd, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, a2a7c3727ededc7810ba187c1a6d163d5286b8c4c27fcd8b50fc8519fe7bb704, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, 97b883cd8a2b7f49f90d5d39c981cf6e110cf1f1c64427a28a6d58ec88c43657] akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-7, akkaSource=akka://da-ui-backend/user/$a/party-Fruit+Check, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:39.123UTC
10:14:39.127 [da-ui-backend-akka.actor.default-dispatcher-12] INFO c.d.n.s.platform.PlatformSubscriber - Successfully loaded packages [86828b9843465f419db1ef8a8ee741d1eef645df02375ebf509cdc8c3ddd16cb, 56d053e2ea121cbffeb676dca73841814f3fa4d41e1b65b8a43773c224d5fbe5, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, f20de1e4e37b92280264c08bf15eca0be0bc5babd7a7b5e574997f154c00cb78, 3f4deaf145a15cdcfa762c058005e2edb9baa75bb7f95a4f8f6f937378e86415, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, cb0552debf219cc909f51cbb5c3b41e9981d39f8f645b1f35e2ef5be2e0b858a, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, 986dbb2e0cfd423ec0ce2d11fd4e8308e80ac6f7542b57c97ee6105ed96abedd, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, a2a7c3727ededc7810ba187c1a6d163d5286b8c4c27fcd8b50fc8519fe7bb704, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, 97b883cd8a2b7f49f90d5d39c981cf6e110cf1f1c64427a28a6d58ec88c43657] akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-12, akkaSource=akka://da-ui-backend/user/$a/party-Fruit+Orchard, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:39.127UTC
10:14:39.128 [da-ui-backend-akka.actor.default-dispatcher-11] INFO c.d.n.s.platform.PlatformSubscriber - Successfully loaded packages [86828b9843465f419db1ef8a8ee741d1eef645df02375ebf509cdc8c3ddd16cb, 56d053e2ea121cbffeb676dca73841814f3fa4d41e1b65b8a43773c224d5fbe5, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, f20de1e4e37b92280264c08bf15eca0be0bc5babd7a7b5e574997f154c00cb78, 3f4deaf145a15cdcfa762c058005e2edb9baa75bb7f95a4f8f6f937378e86415, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, cb0552debf219cc909f51cbb5c3b41e9981d39f8f645b1f35e2ef5be2e0b858a, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, 986dbb2e0cfd423ec0ce2d11fd4e8308e80ac6f7542b57c97ee6105ed96abedd, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, a2a7c3727ededc7810ba187c1a6d163d5286b8c4c27fcd8b50fc8519fe7bb704, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, 97b883cd8a2b7f49f90d5d39c981cf6e110cf1f1c64427a28a6d58ec88c43657] akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-11, akkaSource=akka://da-ui-backend/user/$a/party-Fruit+Box, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:39.128UTC
10:14:39.129 [da-ui-backend-akka.actor.default-dispatcher-13] INFO c.d.n.s.platform.PlatformSubscriber - Successfully loaded packages [86828b9843465f419db1ef8a8ee741d1eef645df02375ebf509cdc8c3ddd16cb, 56d053e2ea121cbffeb676dca73841814f3fa4d41e1b65b8a43773c224d5fbe5, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, f20de1e4e37b92280264c08bf15eca0be0bc5babd7a7b5e574997f154c00cb78, 3f4deaf145a15cdcfa762c058005e2edb9baa75bb7f95a4f8f6f937378e86415, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, cb0552debf219cc909f51cbb5c3b41e9981d39f8f645b1f35e2ef5be2e0b858a, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, 986dbb2e0cfd423ec0ce2d11fd4e8308e80ac6f7542b57c97ee6105ed96abedd, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, a2a7c3727ededc7810ba187c1a6d163d5286b8c4c27fcd8b50fc8519fe7bb704, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, 97b883cd8a2b7f49f90d5d39c981cf6e110cf1f1c64427a28a6d58ec88c43657] akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-13, akkaSource=akka://da-ui-backend/user/$a/party-Fruit+Bad, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:39.129UTC
10:14:39.134 [da-ui-backend-akka.actor.default-dispatcher-9] INFO c.d.n.s.platform.PlatformSubscriber - Successfully loaded packages [86828b9843465f419db1ef8a8ee741d1eef645df02375ebf509cdc8c3ddd16cb, 56d053e2ea121cbffeb676dca73841814f3fa4d41e1b65b8a43773c224d5fbe5, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, f20de1e4e37b92280264c08bf15eca0be0bc5babd7a7b5e574997f154c00cb78, 3f4deaf145a15cdcfa762c058005e2edb9baa75bb7f95a4f8f6f937378e86415, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, cb0552debf219cc909f51cbb5c3b41e9981d39f8f645b1f35e2ef5be2e0b858a, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, 986dbb2e0cfd423ec0ce2d11fd4e8308e80ac6f7542b57c97ee6105ed96abedd, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, a2a7c3727ededc7810ba187c1a6d163d5286b8c4c27fcd8b50fc8519fe7bb704, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, 97b883cd8a2b7f49f90d5d39c981cf6e110cf1f1c64427a28a6d58ec88c43657] akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-10, akkaSource=akka://da-ui-backend/user/$a/party-Fruit+Help, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:39.133UTC
10:14:39.145 [da-ui-backend-akka.actor.default-dispatcher-12] INFO c.d.n.s.platform.PlatformSubscriber - Successfully loaded packages [86828b9843465f419db1ef8a8ee741d1eef645df02375ebf509cdc8c3ddd16cb, 56d053e2ea121cbffeb676dca73841814f3fa4d41e1b65b8a43773c224d5fbe5, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, f20de1e4e37b92280264c08bf15eca0be0bc5babd7a7b5e574997f154c00cb78, 3f4deaf145a15cdcfa762c058005e2edb9baa75bb7f95a4f8f6f937378e86415, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, cb0552debf219cc909f51cbb5c3b41e9981d39f8f645b1f35e2ef5be2e0b858a, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, 986dbb2e0cfd423ec0ce2d11fd4e8308e80ac6f7542b57c97ee6105ed96abedd, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, a2a7c3727ededc7810ba187c1a6d163d5286b8c4c27fcd8b50fc8519fe7bb704, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, 97b883cd8a2b7f49f90d5d39c981cf6e110cf1f1c64427a28a6d58ec88c43657] akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-6, akkaSource=akka://da-ui-backend/user/$a/party-Fruit+Man, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:39.145UTC
10:14:39.182 [da-ui-backend-akka.actor.default-dispatcher-6] INFO c.d.n.s.platform.PlatformSubscriber - Successfully loaded packages [86828b9843465f419db1ef8a8ee741d1eef645df02375ebf509cdc8c3ddd16cb, 56d053e2ea121cbffeb676dca73841814f3fa4d41e1b65b8a43773c224d5fbe5, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, f20de1e4e37b92280264c08bf15eca0be0bc5babd7a7b5e574997f154c00cb78, 3f4deaf145a15cdcfa762c058005e2edb9baa75bb7f95a4f8f6f937378e86415, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, cb0552debf219cc909f51cbb5c3b41e9981d39f8f645b1f35e2ef5be2e0b858a, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, 986dbb2e0cfd423ec0ce2d11fd4e8308e80ac6f7542b57c97ee6105ed96abedd, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, a2a7c3727ededc7810ba187c1a6d163d5286b8c4c27fcd8b50fc8519fe7bb704, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, 97b883cd8a2b7f49f90d5d39c981cf6e110cf1f1c64427a28a6d58ec88c43657] akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-8, akkaSource=akka://da-ui-backend/user/$a/party-Fruit+Bat, sourceActorSystem=da-ui-backend, akkaTimestamp=21:14:39.182UTC
10:18:37.336 [da-ui-backend-akka.actor.default-dispatcher-8] ERROR akka.actor.ActorSystemImpl - Error during processing of request: 'Can't read {
"type": "undefined"
} as ApiValue, unknown type 'undefined''. Completing with 500 Internal Server Error response. To change default exception handling behavior, provide a custom ExceptionHandler. akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-6, akkaSource=akka.actor.ActorSystemImpl(da-ui-backend), sourceActorSystem=da-ui-backend, akkaTimestamp=21:18:37.332UTC
spray.json.DeserializationException: Can't read {
"type": "undefined"
} as ApiValue, unknown type 'undefined'
at spray.json.package$.deserializationError(package.scala:23)
at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiValue(ApiCodecVerbose.scala:176)
at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecordField(ApiCodecVerbose.scala:132)
at com.daml.navigator.json.ApiCodecVerbose$.$anonfun$jsValueToApiRecord$2(ApiCodecVerbose.scala:186)
at scala.collection.immutable.List.map(List.scala:250)
at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecord(ApiCodecVerbose.scala:186)
at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiValue(ApiCodecVerbose.scala:138)
at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecordField(ApiCodecVerbose.scala:132)
at com.daml.navigator.json.ApiCodecVerbose$.$anonfun$jsValueToApiRecord$2(ApiCodecVerbose.scala:186)
at scala.collection.immutable.List.map(List.scala:250)
at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecord(ApiCodecVerbose.scala:186)
at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiValue(ApiCodecVerbose.scala:138)
at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:257)
at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:255)
at spray.json.JsValue.convertTo(JsValue.scala:33)
at com.daml.navigator.graphql.JsonType$.coerceUserJsonInput(JsonType.scala:53)
at com.daml.navigator.graphql.JsonType$.$anonfun$newScalarType$2(JsonType.scala:61)
at sangria.execution.ValueCoercionHelper.isValidValue(ValueCoercionHelper.scala:408)
at sangria.execution.ValueCoercionHelper.isValidValue(ValueCoercionHelper.scala:374)
at sangria.execution.ValueCoercionHelper.getVariableValue(ValueCoercionHelper.scala:449)
at sangria.execution.ValueCollector.$anonfun$getVariableValues$2(ValueCollector.scala:26)
at scala.Option.map(Option.scala:242)
at sangria.execution.ValueCollector.$anonfun$getVariableValues$1(ValueCollector.scala:26)
at scala.collection.IterableOnceOps.foldLeft(IterableOnce.scala:646)
at scala.collection.IterableOnceOps.foldLeft$(IterableOnce.scala:642)
at scala.collection.AbstractIterable.foldLeft(Iterable.scala:919)
at sangria.execution.ValueCollector.getVariableValues(ValueCollector.scala:23)
at sangria.execution.Executor.$anonfun$execute$2(Executor.scala:89)
at scala.util.Success.flatMap(Try.scala:258)
at sangria.execution.Executor.execute(Executor.scala:88)
at sangria.execution.Executor$.execute(Executor.scala:199)
at com.daml.navigator.DefaultGraphQLHandler.$anonfun$executeQuery$2(GraphQLHandler.scala:75)
at scala.Option.fold(Option.scala:263)
at com.daml.navigator.DefaultGraphQLHandler.executeQuery(GraphQLHandler.scala:72)
at com.daml.navigator.UIBackend.$anonfun$getRoute$40(UIBackend.scala:193)
at akka.http.scaladsl.server.directives.RouteDirectives.$anonfun$complete$1(RouteDirectives.scala:51)
at akka.http.scaladsl.server.StandardRoute$$anon$1.apply(StandardRoute.scala:19)
at akka.http.scaladsl.server.StandardRoute$$anon$1.apply(StandardRoute.scala:19)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResult$2(BasicDirectives.scala:68)
at akka.http.scaladsl.server.directives.FutureDirectives.$anonfun$onComplete$3(FutureDirectives.scala:37)
at akka.http.scaladsl.util.FastFuture$.$anonfun$transformWith$1(FastFuture.scala:36)
at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:40)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension(FastFuture.scala:44)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension(FastFuture.scala:36)
at akka.http.scaladsl.server.directives.FutureDirectives.$anonfun$onComplete$2(FutureDirectives.scala:37)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:161)
at akka.http.scaladsl.server.directives.FutureDirectives.$anonfun$onComplete$3(FutureDirectives.scala:37)
at akka.http.scaladsl.util.FastFuture$.$anonfun$transformWith$1(FastFuture.scala:36)
at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:40)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension(FastFuture.scala:54)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension(FastFuture.scala:36)
at akka.http.scaladsl.server.directives.FutureDirectives.$anonfun$onComplete$2(FutureDirectives.scala:37)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:161)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResult$2(BasicDirectives.scala:68)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:161)
at akka.http.scaladsl.server.RouteConcatenation$RouteWithConcatenation.$anonfun$$tilde$2(RouteConcatenation.scala:47)
at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:40)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension(FastFuture.scala:44)
at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:25)
at akka.http.scaladsl.server.RouteConcatenation$RouteWithConcatenation.$anonfun$$tilde$1(RouteConcatenation.scala:44)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRequestContext$2(BasicDirectives.scala:45)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:161)
at akka.http.scaladsl.server.RouteConcatenation$RouteWithConcatenation.$anonfun$$tilde$2(RouteConcatenation.scala:47)
at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:40)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension(FastFuture.scala:44)
at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:25)
at akka.http.scaladsl.server.RouteConcatenation$RouteWithConcatenation.$anonfun$$tilde$1(RouteConcatenation.scala:44)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRequestContext$2(BasicDirectives.scala:45)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:161)
at akka.http.scaladsl.server.RouteConcatenation$RouteWithConcatenation.$anonfun$$tilde$2(RouteConcatenation.scala:47)
at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:40)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension(FastFuture.scala:44)
at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:25)
at akka.http.scaladsl.server.RouteConcatenation$RouteWithConcatenation.$anonfun$$tilde$1(RouteConcatenation.scala:44)
at akka.http.scaladsl.server.RouteConcatenation$RouteWithConcatenation.$anonfun$$tilde$1(RouteConcatenation.scala:44)
at akka.http.scaladsl.server.Directive.$anonfun$recover$4(Directive.scala:125)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:161)
at akka.http.scaladsl.server.Directive.$anonfun$recover$2(Directive.scala:125)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResultWith$2(BasicDirectives.scala:74)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:161)
at akka.http.scaladsl.server.directives.ExecutionDirectives.$anonfun$handleExceptions$2(ExecutionDirectives.scala:32)
at akka.http.scaladsl.server.Route$.$anonfun$createAsyncHandler$1(Route.scala:110)
at akka.stream.impl.fusing.MapAsyncUnordered$$anon$31.onPush(Ops.scala:1404)
at akka.stream.impl.fusing.GraphInterpreter.processPush(GraphInterpreter.scala:541)
at akka.stream.impl.fusing.GraphInterpreter.processEvent(GraphInterpreter.scala:495)
at akka.stream.impl.fusing.GraphInterpreter.execute(GraphInterpreter.scala:390)
at akka.stream.impl.fusing.GraphInterpreterShell.runBatch(ActorGraphInterpreter.scala:625)
at akka.stream.impl.fusing.GraphInterpreterShell$AsyncInput.execute(ActorGraphInterpreter.scala:502)
at akka.stream.impl.fusing.GraphInterpreterShell.processEvent(ActorGraphInterpreter.scala:600)
at akka.stream.impl.fusing.ActorGraphInterpreter.akka$stream$impl$fusing$ActorGraphInterpreter$$processEvent(ActorGraphInterpreter.scala:773)
at akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$receive$1.applyOrElse(ActorGraphInterpreter.scala:788)
at akka.actor.Actor.aroundReceive(Actor.scala:537)
at akka.actor.Actor.aroundReceive$(Actor.scala:535)
at akka.stream.impl.fusing.ActorGraphInterpreter.aroundReceive(ActorGraphInterpreter.scala:691)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:577)
at akka.actor.ActorCell.invoke(ActorCell.scala:547)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270)
at akka.dispatch.Mailbox.run(Mailbox.scala:231)
at akka.dispatch.Mailbox.exec(Mailbox.scala:243)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
10:18:51.085 [da-ui-backend-akka.actor.default-dispatcher-11] ERROR akka.actor.ActorSystemImpl - Error during processing of request: 'Can't read {
"type": "undefined"
} as ApiValue, unknown type 'undefined''. Completing with 500 Internal Server Error response. To change default exception handling behavior, provide a custom ExceptionHandler. akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-9, akkaSource=akka.actor.ActorSystemImpl(da-ui-backend), sourceActorSystem=da-ui-backend, akkaTimestamp=21:18:51.084UTC
spray.json.DeserializationException: Can't read {
"type": "undefined"
} as ApiValue, unknown type 'undefined'
at spray.json.package$.deserializationError(package.scala:23)
at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiValue(ApiCodecVerbose.scala:176)
at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecordField(ApiCodecVerbose.scala:132)
at com.daml.navigator.json.ApiCodecVerbose$.$anonfun$jsValueToApiRecord$2(ApiCodecVerbose.scala:186)
at scala.collection.immutable.List.map(List.scala:250)
at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecord(ApiCodecVerbose.scala:186)
at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiValue(ApiCodecVerbose.scala:138)
at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecordField(ApiCodecVerbose.scala:132)
at com.daml.navigator.json.ApiCodecVerbose$.$anonfun$jsValueToApiRecord$2(ApiCodecVerbose.scala:186)
at scala.collection.immutable.List.map(List.scala:250)
at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecord(ApiCodecVerbose.scala:186)
at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiValue(ApiCodecVerbose.scala:138)
at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:257)
at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:255)
at spray.json.JsValue.convertTo(JsValue.scala:33)
at com.daml.navigator.graphql.JsonType$.coerceUserJsonInput(JsonType.scala:53)
at com.daml.navigator.graphql.JsonType$.$anonfun$newScalarType$2(JsonType.scala:61)
at sangria.execution.ValueCoercionHelper.isValidValue(ValueCoercionHelper.scala:408)
at sangria.execution.ValueCoercionHelper.isValidValue(ValueCoercionHelper.scala:374)
at sangria.execution.ValueCoercionHelper.getVariableValue(ValueCoercionHelper.scala:449)
at sangria.execution.ValueCollector.$anonfun$getVariableValues$2(ValueCollector.scala:26)
at scala.Option.map(Option.scala:242)
at sangria.execution.ValueCollector.$anonfun$getVariableValues$1(ValueCollector.scala:26)
at scala.collection.IterableOnceOps.foldLeft(IterableOnce.scala:646)
at scala.collection.IterableOnceOps.foldLeft$(IterableOnce.scala:642)
at scala.collection.AbstractIterable.foldLeft(Iterable.scala:919)
at sangria.execution.ValueCollector.getVariableValues(ValueCollector.scala:23)
at sangria.execution.Executor.$anonfun$execute$2(Executor.scala:89)
at scala.util.Success.flatMap(Try.scala:258)
at sangria.execution.Executor.execute(Executor.scala:88)
at sangria.execution.Executor$.execute(Executor.scala:199)
at com.daml.navigator.DefaultGraphQLHandler.$anonfun$executeQuery$2(GraphQLHandler.scala:75)
at scala.Option.fold(Option.scala:263)
at com.daml.navigator.DefaultGraphQLHandler.executeQuery(GraphQLHandler.scala:72)
at com.daml.navigator.UIBackend.$anonfun$getRoute$40(UIBackend.scala:193)
at akka.http.scaladsl.server.directives.RouteDirectives.$anonfun$complete$1(RouteDirectives.scala:51)
at akka.http.scaladsl.server.StandardRoute$$anon$1.apply(StandardRoute.scala:19)
at akka.http.scaladsl.server.StandardRoute$$anon$1.apply(StandardRoute.scala:19)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResult$2(BasicDirectives.scala:68)
at akka.http.scaladsl.server.directives.FutureDirectives.$anonfun$onComplete$3(FutureDirectives.scala:37)
at akka.http.scaladsl.util.FastFuture$.$anonfun$transformWith$1(FastFuture.scala:36)
at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:40)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension(FastFuture.scala:44)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension(FastFuture.scala:36)
at akka.http.scaladsl.server.directives.FutureDirectives.$anonfun$onComplete$2(FutureDirectives.scala:37)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:161)
at akka.http.scaladsl.server.directives.FutureDirectives.$anonfun$onComplete$3(FutureDirectives.scala:37)
at akka.http.scaladsl.util.FastFuture$.$anonfun$transformWith$1(FastFuture.scala:36)
at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:40)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension(FastFuture.scala:54)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension(FastFuture.scala:36)
at akka.http.scaladsl.server.directives.FutureDirectives.$anonfun$onComplete$2(FutureDirectives.scala:37)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:161)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResult$2(BasicDirectives.scala:68)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:161)
at akka.http.scaladsl.server.RouteConcatenation$RouteWithConcatenation.$anonfun$$tilde$2(RouteConcatenation.scala:47)
at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:40)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension(FastFuture.scala:44)
at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:25)
at akka.http.scaladsl.server.RouteConcatenation$RouteWithConcatenation.$anonfun$$tilde$1(RouteConcatenation.scala:44)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRequestContext$2(BasicDirectives.scala:45)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:161)
at akka.http.scaladsl.server.RouteConcatenation$RouteWithConcatenation.$anonfun$$tilde$2(RouteConcatenation.scala:47)
at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:40)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension(FastFuture.scala:44)
at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:25)
at akka.http.scaladsl.server.RouteConcatenation$RouteWithConcatenation.$anonfun$$tilde$1(RouteConcatenation.scala:44)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRequestContext$2(BasicDirectives.scala:45)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:161)
at akka.http.scaladsl.server.RouteConcatenation$RouteWithConcatenation.$anonfun$$tilde$2(RouteConcatenation.scala:47)
at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:40)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension(FastFuture.scala:44)
at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:25)
at akka.http.scaladsl.server.RouteConcatenation$RouteWithConcatenation.$anonfun$$tilde$1(RouteConcatenation.scala:44)
at akka.http.scaladsl.server.RouteConcatenation$RouteWithConcatenation.$anonfun$$tilde$1(RouteConcatenation.scala:44)
at akka.http.scaladsl.server.Directive.$anonfun$recover$4(Directive.scala:125)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:161)
at akka.http.scaladsl.server.Directive.$anonfun$recover$2(Directive.scala:125)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResultWith$2(BasicDirectives.scala:74)
at akka.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:161)
at akka.http.scaladsl.server.directives.ExecutionDirectives.$anonfun$handleExceptions$2(ExecutionDirectives.scala:32)
at akka.http.scaladsl.server.Route$.$anonfun$createAsyncHandler$1(Route.scala:110)
at akka.stream.impl.fusing.MapAsyncUnordered$$anon$31.onPush(Ops.scala:1404)
at akka.stream.impl.fusing.GraphInterpreter.processPush(GraphInterpreter.scala:541)
at akka.stream.impl.fusing.GraphInterpreter.processEvent(GraphInterpreter.scala:495)
at akka.stream.impl.fusing.GraphInterpreter.execute(GraphInterpreter.scala:390)
at akka.stream.impl.fusing.GraphInterpreterShell.runBatch(ActorGraphInterpreter.scala:625)
at akka.stream.impl.fusing.GraphInterpreterShell$AsyncInput.execute(ActorGraphInterpreter.scala:502)
at akka.stream.impl.fusing.GraphInterpreterShell.processEvent(ActorGraphInterpreter.scala:600)
at akka.stream.impl.fusing.ActorGraphInterpreter.akka$stream$impl$fusing$ActorGraphInterpreter$$processEvent(ActorGraphInterpreter.scala:773)
at akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$receive$1.applyOrElse(ActorGraphInterpreter.scala:788)
at akka.actor.Actor.aroundReceive(Actor.scala:537)
at akka.actor.Actor.aroundReceive$(Actor.scala:535)
at akka.stream.impl.fusing.ActorGraphInterpreter.aroundReceive(ActorGraphInterpreter.scala:691)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:577)
at akka.actor.ActorCell.invoke(ActorCell.scala:547)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270)
at akka.dispatch.Mailbox.run(Mailbox.scala:231)
at akka.dispatch.Mailbox.exec(Mailbox.scala:243)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
10:29:51.243 [da-ui-backend-akka.actor.default-dispatcher-11] INFO c.d.n.s.platform.PlatformSubscriber - Command 'd4b20f0f438bea14' completed successfully. akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-6, akkaSource=akka://da-ui-backend/user/$a/party-Fruit+Man, sourceActorSystem=da-ui-backend, akkaTimestamp=21:29:51.243UTC
10:30:10.539 [da-ui-backend-akka.actor.default-dispatcher-8] INFO com.daml.navigator.NavigatorBackend$ - Logged out user 'Fruit Man'
10:30:23.601 [da-ui-backend-akka.actor.default-dispatcher-13] INFO com.daml.navigator.NavigatorBackend$ - Logged out user 'Fruit Bat'
10:30:42.522 [da-ui-backend-akka.actor.default-dispatcher-8] INFO com.daml.navigator.NavigatorBackend$ - Logged out user 'Fruit Box'
10:31:01.551 [da-ui-backend-akka.actor.default-dispatcher-12] INFO c.d.n.s.platform.PlatformSubscriber - Command '44d33235e33cb7af' completed successfully. akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-12, akkaSource=akka://da-ui-backend/user/$a/party-Fruit+Man, sourceActorSystem=da-ui-backend, akkaTimestamp=21:31:01.551UTC
10:31:06.696 [da-ui-backend-akka.actor.default-dispatcher-8] INFO com.daml.navigator.NavigatorBackend$ - Logged out user 'Fruit Man'
10:31:33.465 [da-ui-backend-akka.actor.default-dispatcher-7] INFO com.daml.navigator.NavigatorBackend$ - Logged out user 'Fruit Box'
10:33:01.316 [da-ui-backend-akka.actor.default-dispatcher-10] INFO c.d.n.s.platform.PlatformSubscriber - Command 'aff750d7a1d31791' completed successfully. akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-11, akkaSource=akka://da-ui-backend/user/$a/party-Fruit+Man, sourceActorSystem=da-ui-backend, akkaTimestamp=21:33:01.316UTC
10:36:40.246 [da-ui-backend-akka.actor.default-dispatcher-11] WARN c.d.l.c.s.c.CommandTrackerFlow$ - Completion Stream failed with an error. Trying to recover in 1 second...
10:36:40.246 [da-ui-backend-akka.actor.default-dispatcher-6] WARN akka.actor.CoordinatedShutdown - Could not addJvmShutdownHook, due to: Shutdown in progress akkaAddress=akka://da-ui-backend, sourceThread=shutdownHook2, akkaSource=CoordinatedShutdown(akka://da-ui-backend), sourceActorSystem=da-ui-backend, akkaTimestamp=21:36:40.244UTC
10:36:40.251 [da-ui-backend-akka.actor.default-dispatcher-9] WARN c.d.l.c.s.c.CommandTrackerFlow$ - Completion Stream failed with an error. Trying to recover in 1 second...
10:36:40.256 [da-ui-backend-akka.actor.default-dispatcher-12] WARN c.d.l.c.s.c.CommandTrackerFlow$ - Completion Stream failed with an error. Trying to recover in 1 second...
10:36:40.256 [da-ui-backend-akka.actor.default-dispatcher-7] WARN c.d.l.c.s.c.CommandTrackerFlow$ - Completion Stream failed with an error. Trying to recover in 1 second...
10:36:40.263 [da-ui-backend-akka.actor.default-dispatcher-6] WARN c.d.l.c.s.c.CommandTrackerFlow$ - Completion Stream failed with an error. Trying to recover in 1 second...
10:36:40.264 [da-ui-backend-akka.actor.default-dispatcher-7] WARN c.d.l.c.s.c.CommandTrackerFlow$ - Completion Stream failed with an error. Trying to recover in 1 second...
10:36:40.277 [da-ui-backend-akka.actor.default-dispatcher-9] WARN c.d.l.c.s.c.CommandTrackerFlow$ - Completion Stream failed with an error. Trying to recover in 1 second...
10:36:40.315 [da-ui-backend-akka.actor.default-dispatcher-9] WARN c.d.l.c.s.c.CommandTrackerFlow$ - Completion Stream failed with an error. Trying to recover in 1 second...
All I can see in terms on an error is 10:18:51.085 [da-ui-backend-akka.actor.default-dispatcher-11] ERROR akka.actor.ActorSystemImpl - Error during processing of request: 'Can't read { "type": "undefined"
Looks like a separate issue. I recommend opening a new question for that.
Will do, or I can get my apps out of the Sandbox/Navigator and onto the Canton Ledger, that would probably fix it also 