Create-database is failing with exception

Just installed Datomic Cloud stacks (compute and storage) with the latest versions. When I try to run the command:

(retry/with-retry #(d/create-database client {:db-name db-name}))

I get the following exception:

Execution error (IllegalArgumentException) at datomic.client.api.protocols/fn$G (protocols.clj:19).
No implementation of method: :create-database of protocol: #'datomic.client.api.protocols/Client found for class: clojure.lang.PersistentArrayMap

Any hint/help, much appreciated. Thanks.

Found out the issue. My Storage stack name and App Name were different. So the system name was set with app-name.

1 Like