The script works against Sandbox running with the same app. The first create
command of the script which causes the error works when I issue it with Postman.
The error message is rather cryptic:
Exception in thread "main" com.daml.lf.engine.script.ScriptF$FailedCmd: Command submit failed: Request to /v1/create with Some(<request body>) failed with status 404 Not Found: List()
Daml stacktrace:
submit at 81afc9ae8c5953ce31e7c572302178f98135220e84940618a1f4c5edafc00fc8:InitWorkflow:36
at com.daml.lf.engine.script.Runner.$anonfun$runWithClients$10(Runner.scala:444)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:439)
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:53)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:48)
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)