Daml start

Hello everybody, I tried to run a smart contract that I’ve created on the browser using the command daml start in the terminal. However, when I display the page in the browser, it gives as parties still alice and bob even if I changed them on visual studio code in the contract. Is there a way to change it?

Thanks in advance!

1 Like

Hi @Alice,

Can you describe in more details what you have done to get at this screen? If you’re running a brand new project resulting from daml new my-project, the list of options for login on that screen will be set by the parties entry in daml.yaml, and will be independent of your Daml code.

2 Likes

Hi @Alice and welcome to the forum!

You can define the party names in the daml.yaml file in order for them to be visible in the Navigator

1 Like

I managed to change the names in the daml.yaml file as you suggested. However, now when I run the navigator I can’t display any contract under the contract section. Do I have to modify something else to have the correct contract displayed in the navigator?

Also a page called navigator.log opened and it displays some errors.
This is what it displays.

Navigator error
11:43:42.455 [da-ui-backend-akka.actor.default-dispatcher-4] INFO  akka.event.slf4j.Slf4jLogger - Slf4jLogger started 
11:43:42.759 [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-5, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=10:43:42.751UTC
11:43:44.473 [main] INFO  com.daml.navigator.NavigatorBackend$ - DA UI backend server listening on port 7500 
11:43:44.517 [da-ui-backend-akka.actor.default-dispatcher-5] 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-6, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=10:43:44.517UTC
11:43:44.525 [da-ui-backend-akka.actor.default-dispatcher-9] 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-6, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=10:43:44.525UTC
11:43:44.534 [da-ui-backend-akka.actor.default-dispatcher-9] INFO  c.d.n.store.platform.PlatformStore - Starting actor for Mario akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-6, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=10:43:44.534UTC
11:43:51.396 [da-ui-backend-akka.actor.default-dispatcher-8] INFO  c.d.n.store.platform.PlatformStore - Starting actor for Ministry of Foreign Affairs akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-6, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=10:43:51.393UTC
11:43:54.403 [da-ui-backend-akka.actor.default-dispatcher-5] INFO  c.d.n.s.platform.PlatformSubscriber - Successfully loaded packages [c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 95a78e5348380a769692010d00e3bac376c42ce733a3b5a1d4d7fade4a338c76, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 052c972215f83506001cb4f5503dc49cce0fc52011b2aa1bf8a7158683877666, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, d59f3145f3b2f6eb8a70001f630d9bdaeab79e45b8d5fd462a1ac9d30223aeb6, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, 97b883cd8a2b7f49f90d5d39c981cf6e110cf1f1c64427a28a6d58ec88c43657, d4e50d51c79ff5c165dc1eb06091b05ab6e7eafc51552faf1a67df578b783433, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb] akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-8, akkaSource=akka://da-ui-backend/user/$a/party-Mario, sourceActorSystem=da-ui-backend, akkaTimestamp=10:43:54.402UTC
11:43:54.403 [da-ui-backend-akka.actor.default-dispatcher-5] INFO  c.d.n.s.platform.PlatformSubscriber - Successfully loaded packages [c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 95a78e5348380a769692010d00e3bac376c42ce733a3b5a1d4d7fade4a338c76, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 052c972215f83506001cb4f5503dc49cce0fc52011b2aa1bf8a7158683877666, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, d59f3145f3b2f6eb8a70001f630d9bdaeab79e45b8d5fd462a1ac9d30223aeb6, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, 97b883cd8a2b7f49f90d5d39c981cf6e110cf1f1c64427a28a6d58ec88c43657, d4e50d51c79ff5c165dc1eb06091b05ab6e7eafc51552faf1a67df578b783433, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb] akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-6, akkaSource=akka://da-ui-backend/user/$a/party-Ministry+of+Foreign+Affairs, sourceActorSystem=da-ui-backend, akkaTimestamp=10:43:54.403UTC
11:44:28.587 [da-ui-backend-akka.actor.default-dispatcher-5] INFO  com.daml.navigator.NavigatorBackend$ - Logged out user 'Mario' 
11:44:52.435 [da-ui-backend-akka.actor.default-dispatcher-10] 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-7, akkaSource=akka.actor.ActorSystemImpl(da-ui-backend), sourceActorSystem=da-ui-backend, akkaTimestamp=10:44:52.426UTC
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:187)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecordField(ApiCodecVerbose.scala:145)
	at com.daml.navigator.json.ApiCodecVerbose$.$anonfun$jsValueToApiRecord$2(ApiCodecVerbose.scala:197)
	at scala.collection.immutable.List.map(List.scala:293)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecord(ApiCodecVerbose.scala:197)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiValue(ApiCodecVerbose.scala:151)
	at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:268)
	at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:266)
	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:230)
	at sangria.execution.ValueCollector.$anonfun$getVariableValues$1(ValueCollector.scala:26)
	at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:196)
	at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:194)
	at scala.collection.Iterator.foreach(Iterator.scala:943)
	at scala.collection.Iterator.foreach$(Iterator.scala:943)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
	at scala.collection.IterableLike.foreach(IterableLike.scala:74)
	at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
	at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
	at scala.collection.TraversableOnce.foldLeft(TraversableOnce.scala:199)
	at scala.collection.TraversableOnce.foldLeft$(TraversableOnce.scala:192)
	at scala.collection.AbstractTraversable.foldLeft(Traversable.scala:108)
	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:251)
	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:251)
	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:37)
	at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
	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:37)
	at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:55)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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)
11:45:24.350 [da-ui-backend-akka.actor.default-dispatcher-9] INFO  com.daml.navigator.NavigatorBackend$ - Logged out user 'Ministry of Foreign Affairs' 
11:45:46.790 [da-ui-backend-akka.actor.default-dispatcher-6] INFO  com.daml.navigator.NavigatorBackend$ - Logged out user 'Mario' 
11:46:03.579 [da-ui-backend-akka.actor.default-dispatcher-4] 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-5, akkaSource=akka.actor.ActorSystemImpl(da-ui-backend), sourceActorSystem=da-ui-backend, akkaTimestamp=10:46:03.578UTC
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:187)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecordField(ApiCodecVerbose.scala:145)
	at com.daml.navigator.json.ApiCodecVerbose$.$anonfun$jsValueToApiRecord$2(ApiCodecVerbose.scala:197)
	at scala.collection.immutable.List.map(List.scala:293)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecord(ApiCodecVerbose.scala:197)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiValue(ApiCodecVerbose.scala:151)
	at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:268)
	at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:266)
	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:230)
	at sangria.execution.ValueCollector.$anonfun$getVariableValues$1(ValueCollector.scala:26)
	at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:196)
	at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:194)
	at scala.collection.Iterator.foreach(Iterator.scala:943)
	at scala.collection.Iterator.foreach$(Iterator.scala:943)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
	at scala.collection.IterableLike.foreach(IterableLike.scala:74)
	at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
	at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
	at scala.collection.TraversableOnce.foldLeft(TraversableOnce.scala:199)
	at scala.collection.TraversableOnce.foldLeft$(TraversableOnce.scala:192)
	at scala.collection.AbstractTraversable.foldLeft(Traversable.scala:108)
	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:251)
	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:251)
	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:37)
	at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
	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:37)
	at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:55)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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)
11:46:10.305 [da-ui-backend-akka.actor.default-dispatcher-7] INFO  com.daml.navigator.NavigatorBackend$ - Logged out user 'Ministry of Foreign Affairs' 
11:51:00.418 [da-ui-backend-akka.actor.default-dispatcher-7] 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=10:51:00.413UTC
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:187)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecordField(ApiCodecVerbose.scala:145)
	at com.daml.navigator.json.ApiCodecVerbose$.$anonfun$jsValueToApiRecord$2(ApiCodecVerbose.scala:197)
	at scala.collection.immutable.List.map(List.scala:293)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecord(ApiCodecVerbose.scala:197)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiValue(ApiCodecVerbose.scala:151)
	at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:268)
	at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:266)
	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:230)
	at sangria.execution.ValueCollector.$anonfun$getVariableValues$1(ValueCollector.scala:26)
	at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:196)
	at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:194)
	at scala.collection.Iterator.foreach(Iterator.scala:943)
	at scala.collection.Iterator.foreach$(Iterator.scala:943)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
	at scala.collection.IterableLike.foreach(IterableLike.scala:74)
	at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
	at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
	at scala.collection.TraversableOnce.foldLeft(TraversableOnce.scala:199)
	at scala.collection.TraversableOnce.foldLeft$(TraversableOnce.scala:192)
	at scala.collection.AbstractTraversable.foldLeft(Traversable.scala:108)
	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:251)
	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:251)
	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:37)
	at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
	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:37)
	at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:55)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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)
11:51:21.746 [da-ui-backend-akka.actor.default-dispatcher-7] 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=10:51:21.745UTC
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:187)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecordField(ApiCodecVerbose.scala:145)
	at com.daml.navigator.json.ApiCodecVerbose$.$anonfun$jsValueToApiRecord$2(ApiCodecVerbose.scala:197)
	at scala.collection.immutable.List.map(List.scala:293)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecord(ApiCodecVerbose.scala:197)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiValue(ApiCodecVerbose.scala:151)
	at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:268)
	at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:266)
	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:230)
	at sangria.execution.ValueCollector.$anonfun$getVariableValues$1(ValueCollector.scala:26)
	at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:196)
	at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:194)
	at scala.collection.Iterator.foreach(Iterator.scala:943)
	at scala.collection.Iterator.foreach$(Iterator.scala:943)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
	at scala.collection.IterableLike.foreach(IterableLike.scala:74)
	at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
	at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
	at scala.collection.TraversableOnce.foldLeft(TraversableOnce.scala:199)
	at scala.collection.TraversableOnce.foldLeft$(TraversableOnce.scala:192)
	at scala.collection.AbstractTraversable.foldLeft(Traversable.scala:108)
	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:251)
	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:251)
	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:37)
	at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
	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:37)
	at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:55)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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)

A Daml ledger supports dynamic allocation of parties, so there isn’t a “known, fixed” list. The list of party names you put in your daml.yaml file is the list of parties that will be able to log into the Navigator, but they are by no means the only parties existing on the ledger.

In order for you to view contracts in the Navigator, you need to have contracts on the ledger that are visible to the party your are connecting as with the Navigator.

So if you have connected to the Navigator as “Mario”, you’ll need to have created contracts visible to the Mario party beforehand. You could do that through the execution of a Daml Script. It’s going to be easier to give you more precise directions if you could share your daml.yaml file and your Daml code, but roughly speaking you might have a setup method somewhere that is allocating parties and creating contracts for them. You would need to modify that code to assign some contracts to the Mario party.

I changed the names in the daml.yaml file, but when I open the navigator I can’t display a contract.

Also a file called navigator.log immediately opened displaying errors. This is what it displays:

Navigator error
11:43:42.455 [da-ui-backend-akka.actor.default-dispatcher-4] INFO  akka.event.slf4j.Slf4jLogger - Slf4jLogger started 
11:43:42.759 [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-5, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=10:43:42.751UTC
11:43:44.473 [main] INFO  com.daml.navigator.NavigatorBackend$ - DA UI backend server listening on port 7500 
11:43:44.517 [da-ui-backend-akka.actor.default-dispatcher-5] 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-6, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=10:43:44.517UTC
11:43:44.525 [da-ui-backend-akka.actor.default-dispatcher-9] 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-6, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=10:43:44.525UTC
11:43:44.534 [da-ui-backend-akka.actor.default-dispatcher-9] INFO  c.d.n.store.platform.PlatformStore - Starting actor for Mario akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-6, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=10:43:44.534UTC
11:43:51.396 [da-ui-backend-akka.actor.default-dispatcher-8] INFO  c.d.n.store.platform.PlatformStore - Starting actor for Ministry of Foreign Affairs akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-6, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=10:43:51.393UTC
11:43:54.403 [da-ui-backend-akka.actor.default-dispatcher-5] INFO  c.d.n.s.platform.PlatformSubscriber - Successfully loaded packages [c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 95a78e5348380a769692010d00e3bac376c42ce733a3b5a1d4d7fade4a338c76, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 052c972215f83506001cb4f5503dc49cce0fc52011b2aa1bf8a7158683877666, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, d59f3145f3b2f6eb8a70001f630d9bdaeab79e45b8d5fd462a1ac9d30223aeb6, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, 97b883cd8a2b7f49f90d5d39c981cf6e110cf1f1c64427a28a6d58ec88c43657, d4e50d51c79ff5c165dc1eb06091b05ab6e7eafc51552faf1a67df578b783433, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb] akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-8, akkaSource=akka://da-ui-backend/user/$a/party-Mario, sourceActorSystem=da-ui-backend, akkaTimestamp=10:43:54.402UTC
11:43:54.403 [da-ui-backend-akka.actor.default-dispatcher-5] INFO  c.d.n.s.platform.PlatformSubscriber - Successfully loaded packages [c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 95a78e5348380a769692010d00e3bac376c42ce733a3b5a1d4d7fade4a338c76, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 052c972215f83506001cb4f5503dc49cce0fc52011b2aa1bf8a7158683877666, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, d59f3145f3b2f6eb8a70001f630d9bdaeab79e45b8d5fd462a1ac9d30223aeb6, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, 97b883cd8a2b7f49f90d5d39c981cf6e110cf1f1c64427a28a6d58ec88c43657, d4e50d51c79ff5c165dc1eb06091b05ab6e7eafc51552faf1a67df578b783433, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb] akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-6, akkaSource=akka://da-ui-backend/user/$a/party-Ministry+of+Foreign+Affairs, sourceActorSystem=da-ui-backend, akkaTimestamp=10:43:54.403UTC
11:44:28.587 [da-ui-backend-akka.actor.default-dispatcher-5] INFO  com.daml.navigator.NavigatorBackend$ - Logged out user 'Mario' 
11:44:52.435 [da-ui-backend-akka.actor.default-dispatcher-10] 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-7, akkaSource=akka.actor.ActorSystemImpl(da-ui-backend), sourceActorSystem=da-ui-backend, akkaTimestamp=10:44:52.426UTC
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:187)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecordField(ApiCodecVerbose.scala:145)
	at com.daml.navigator.json.ApiCodecVerbose$.$anonfun$jsValueToApiRecord$2(ApiCodecVerbose.scala:197)
	at scala.collection.immutable.List.map(List.scala:293)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecord(ApiCodecVerbose.scala:197)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiValue(ApiCodecVerbose.scala:151)
	at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:268)
	at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:266)
	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:230)
	at sangria.execution.ValueCollector.$anonfun$getVariableValues$1(ValueCollector.scala:26)
	at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:196)
	at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:194)
	at scala.collection.Iterator.foreach(Iterator.scala:943)
	at scala.collection.Iterator.foreach$(Iterator.scala:943)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
	at scala.collection.IterableLike.foreach(IterableLike.scala:74)
	at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
	at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
	at scala.collection.TraversableOnce.foldLeft(TraversableOnce.scala:199)
	at scala.collection.TraversableOnce.foldLeft$(TraversableOnce.scala:192)
	at scala.collection.AbstractTraversable.foldLeft(Traversable.scala:108)
	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:251)
	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:251)
	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:37)
	at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
	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:37)
	at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:55)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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)
11:45:24.350 [da-ui-backend-akka.actor.default-dispatcher-9] INFO  com.daml.navigator.NavigatorBackend$ - Logged out user 'Ministry of Foreign Affairs' 
11:45:46.790 [da-ui-backend-akka.actor.default-dispatcher-6] INFO  com.daml.navigator.NavigatorBackend$ - Logged out user 'Mario' 
11:46:03.579 [da-ui-backend-akka.actor.default-dispatcher-4] 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-5, akkaSource=akka.actor.ActorSystemImpl(da-ui-backend), sourceActorSystem=da-ui-backend, akkaTimestamp=10:46:03.578UTC
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:187)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecordField(ApiCodecVerbose.scala:145)
	at com.daml.navigator.json.ApiCodecVerbose$.$anonfun$jsValueToApiRecord$2(ApiCodecVerbose.scala:197)
	at scala.collection.immutable.List.map(List.scala:293)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecord(ApiCodecVerbose.scala:197)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiValue(ApiCodecVerbose.scala:151)
	at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:268)
	at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:266)
	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:230)
	at sangria.execution.ValueCollector.$anonfun$getVariableValues$1(ValueCollector.scala:26)
	at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:196)
	at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:194)
	at scala.collection.Iterator.foreach(Iterator.scala:943)
	at scala.collection.Iterator.foreach$(Iterator.scala:943)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
	at scala.collection.IterableLike.foreach(IterableLike.scala:74)
	at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
	at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
	at scala.collection.TraversableOnce.foldLeft(TraversableOnce.scala:199)
	at scala.collection.TraversableOnce.foldLeft$(TraversableOnce.scala:192)
	at scala.collection.AbstractTraversable.foldLeft(Traversable.scala:108)
	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:251)
	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:251)
	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:37)
	at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
	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:37)
	at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:55)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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)
11:46:10.305 [da-ui-backend-akka.actor.default-dispatcher-7] INFO  com.daml.navigator.NavigatorBackend$ - Logged out user 'Ministry of Foreign Affairs' 
11:51:00.418 [da-ui-backend-akka.actor.default-dispatcher-7] 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=10:51:00.413UTC
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:187)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecordField(ApiCodecVerbose.scala:145)
	at com.daml.navigator.json.ApiCodecVerbose$.$anonfun$jsValueToApiRecord$2(ApiCodecVerbose.scala:197)
	at scala.collection.immutable.List.map(List.scala:293)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecord(ApiCodecVerbose.scala:197)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiValue(ApiCodecVerbose.scala:151)
	at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:268)
	at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:266)
	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:230)
	at sangria.execution.ValueCollector.$anonfun$getVariableValues$1(ValueCollector.scala:26)
	at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:196)
	at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:194)
	at scala.collection.Iterator.foreach(Iterator.scala:943)
	at scala.collection.Iterator.foreach$(Iterator.scala:943)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
	at scala.collection.IterableLike.foreach(IterableLike.scala:74)
	at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
	at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
	at scala.collection.TraversableOnce.foldLeft(TraversableOnce.scala:199)
	at scala.collection.TraversableOnce.foldLeft$(TraversableOnce.scala:192)
	at scala.collection.AbstractTraversable.foldLeft(Traversable.scala:108)
	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:251)
	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:251)
	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:37)
	at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
	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:37)
	at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:55)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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)
11:51:21.746 [da-ui-backend-akka.actor.default-dispatcher-7] 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=10:51:21.745UTC
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:187)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecordField(ApiCodecVerbose.scala:145)
	at com.daml.navigator.json.ApiCodecVerbose$.$anonfun$jsValueToApiRecord$2(ApiCodecVerbose.scala:197)
	at scala.collection.immutable.List.map(List.scala:293)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiRecord(ApiCodecVerbose.scala:197)
	at com.daml.navigator.json.ApiCodecVerbose$.jsValueToApiValue(ApiCodecVerbose.scala:151)
	at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:268)
	at com.daml.navigator.json.ApiCodecVerbose$JsonImplicits$ApiValueJsonFormat$.read(ApiCodecVerbose.scala:266)
	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:230)
	at sangria.execution.ValueCollector.$anonfun$getVariableValues$1(ValueCollector.scala:26)
	at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:196)
	at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:194)
	at scala.collection.Iterator.foreach(Iterator.scala:943)
	at scala.collection.Iterator.foreach$(Iterator.scala:943)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
	at scala.collection.IterableLike.foreach(IterableLike.scala:74)
	at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
	at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
	at scala.collection.TraversableOnce.foldLeft(TraversableOnce.scala:199)
	at scala.collection.TraversableOnce.foldLeft$(TraversableOnce.scala:192)
	at scala.collection.AbstractTraversable.foldLeft(Traversable.scala:108)
	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:251)
	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:251)
	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:37)
	at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
	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:37)
	at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:55)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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:41)
	at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:45)
	at akka.http.scaladsl.util.FastFuture$.flatMap$extension(FastFuture.scala:26)
	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)

What I’m wondering is if I have to change the names also in the main.daml file because there it has Alice and Bob. Do you think that this should fix it?
Anyway I’ll show you the daml.yaml and main.daml

daml.yaml
# https://docs.daml.com/tools/assistant.html#project-config-file-daml-yaml

sdk-version: 1.13.1
name: passport-create
source: daml
init-script: Main:setup
parties:
  - Mario
  - Ministry of Foreign Affairs
version: 0.0.1
dependencies:
  - daml-prim
  - daml-stdlib
  - daml-script
sandbox-options:
  - --wall-clock-time

Module main
module Main where

import Daml.Script

type AssetId = ContractId Asset

template Asset
  with
    issuer : Party
    owner  : Party
    name   : Text
  where
    ensure name /= ""
    signatory issuer
    controller owner can
      Give : AssetId
        with
          newOwner : Party
        do
          create this with
            owner = newOwner

setup : Script AssetId
setup = script do
  alice <- allocatePartyWithHint "Alice" (PartyIdHint "Alice")
  bob <- allocatePartyWithHint "Bob" (PartyIdHint "Bob")

  aliceTV <- submit alice do
    createCmd Asset with
      issuer = alice
      owner = alice
      name = "TV"

  bobTV <- submit alice do
    exerciseCmd aliceTV Give with newOwner = bob

  submit bob do
    exerciseCmd bobTV Give with newOwner = alice

Thanks in advance for the help!

Yes, I think changing:

setup = script do
  alice <- allocatePartyWithHint "Alice" (PartyIdHint "Alice")
  bob <- allocatePartyWithHint "Bob" (PartyIdHint "Bob")

to:

setup = script do
  alice <- allocatePartyWithHint "Alice" (PartyIdHint "Alice")
  bob <- allocatePartyWithHint "Bob" (PartyIdHint "Bob")

  mario <- allocatePartyWithHint "Mario" (PartyIdHint "Mario")
  ministry <- allocatePartyWithHint "Ministry of Foreign Affairs" (PartyIdHint "Ministry of Foreign Affairs")

might get rid of that error. Unless you also change the code further down, though, this would not actually create any contract for them so you’d still see an empty set of contracts in Navigator.

I tried doing what you’ve written here, but the errors on navigator.log are still there and as you said it didn’t create a contract in the navigator. Do you have any further suggestion?

Hi @Alice,

I am unable to reproduce the errors you’re seeing. With the exact same daml.yaml and daml/Main.daml fiels as you, when I run daml start I get a working Navigator. There are no errors printed in navigator.log and, while there are no contracts prepopulated (since the setup script creates contracts for unrelated parties), I can use Navigator to create a contract with Bob and give it to Ministry of Foreign Affairs, at which point they both see one contract (the on I just created).

Can you walk me through exactly how you started Navigator to get these error messages?

I’d also recommend to upgrade to the latest SDK release 1.18.0. Looking at your daml.yaml you seem to still be using 1.13.1.

1 Like

Ok, I’ll try to install the latest version of Daml.

Just to clarify, I was not able to reproduce the error even on 1.13.1, so while I agree upgrading is good, I don’t think it is related.

Hi @Alice :wave:

Were you able to solve the issue?

I ran into the same issue, I solve it by moving the Main.daml into the daml folder and it worked.

1 Like

Hi ,My borther I am confused why login navigator doesn’t require a password,For example, if Alice login to Bob’s account, can he modify the contract?

Hi @tomzhangv,

For development purposes only, it is possible to run a Daml sandbox with authentication turned off, which allows Navigator to impersonate any party on the ledger by just knowing the party ID.

Note that this thread is about Daml 1.x, and there have been a few changes in how authentication, and Navigator connections, work in the 2.x release branch.

Rest assured, though, that for a properly configured production setup, a Daml ledger will not let Navigator connect as just any random party: you’d need to have separately obtained a token for each party you want to connect as (at which point the question shifts to your token provider and how lax they are about giving you tokens for other parties).

Alright, Thank you so much