# Web Dev w/Clj 3e (vB17.0): Unknown dbtype - conman 0.8.4 broken. Fix: upgrade to 0.9.1

**URL:** <https://forum.devtalk.com/t/web-dev-w-clj-3e-vb17-0-unknown-dbtype-conman-0-8-4-broken-fix-upgrade-to-0-9-1/7867>\
**Category:** PragProg Customers\
**Tags:** book-web-development-with-clojure-third-edition, errata\
**Created:** [14 March 2021 06:42 UTC](https://forum.devtalk.com/t/web-dev-w-clj-3e-vb17-0-unknown-dbtype-conman-0-8-4-broken-fix-upgrade-to-0-9-1/7867 "2021-03-14T06:42:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kentbull](https://forum.devtalk.com/user_avatar/forum.devtalk.com/kentbull/32/1308_2.png) [@kentbull](https://forum.devtalk.com/u/kentbull)\
**Post date:** [14 March 2021 06:42 UTC](https://forum.devtalk.com/t/web-dev-w-clj-3e-vb17-0-unknown-dbtype-conman-0-8-4-broken-fix-upgrade-to-0-9-1/7867/1 "2021-03-14T06:42:22Z")

</div>

Title: Web Development with Clojure 3e (vB17.0): Unknown dbtype (ch1 tests) p 15

Using conman version 0.8.4 brings the following error:

```auto
ERROR in (test-messages) (connection.clj:199)
Uncaught exception, not in assertion.
expected: nil
  actual: clojure.lang.ExceptionInfo: Unknown dbtype: 
{:datasource #object[com.zaxxer.hikari.HikariDataSource 0x4953c5f8 "HikariDataSource (HikariPool-1)"]}

```

Upgrading `conman` to “0.9.1” is an easy solution.

---

<div class="post-metadata">

**Author:** ![giftboiling](https://forum.devtalk.com/user_avatar/forum.devtalk.com/giftboiling/32/3780_2.png) [@giftboiling](https://forum.devtalk.com/u/giftboiling)\
**Post date:** [22 January 2022 15:34 UTC](https://forum.devtalk.com/t/web-dev-w-clj-3e-vb17-0-unknown-dbtype-conman-0-8-4-broken-fix-upgrade-to-0-9-1/7867/2 "2022-01-22T15:34:22Z")

</div>

For whoever in the future might look for this:

This is a typo-like mistake made by the author I believe. The example code was written with legacy `subprotocol` and `subname` while the author’s true intention is to use the preferred `dbtype` and `dbname`.

The paragraph right below the example code says:

> In the preceding example, we’ve defined a connection for an instance of the PostgreSQL database by specifying the database type suing `:dbtype` key and a name using the `:dbname` key.

So we should really use these two instead.
