Can't add Google Analytic as database

Hi All here,
Im new on Metabase and being handed over to manage Metabase in my Company.
I want to connect our GA to Metabase, has been following the step and when I clicked save button I got No method in multimethod 'can-connect?' for dispatch value: :googleanalytics

Our metabase using version 0.37.0.2
being hosted on AWS and started using JAR file.

Hi @vino
Check the detailed error in Admin > Troubleshooting > Logs.

We're updating the guide for connecting GA, so try reading this: https://github.com/metabase/metabase/blob/adding-google-analytics-documentation/docs/administration-guide/databases/google-analytics.md

You're using an old version of Metabase. Latest release is 0.41.1: https://github.com/metabase/metabase/releases/latest

this is the error I got from the logs,

[469fe718-6ddd-4f5d-8896-78f5fc4eb877] 2021-10-29T16:51:04+08:00 ERROR metabase.driver.util Database connection error
java.lang.IllegalArgumentException: No method in multimethod 'can-connect?' for dispatch value: :googleanalytics
at clojure.lang.MultiFn.getFn(MultiFn.java:156)
at clojure.lang.MultiFn.invoke(MultiFn.java:233)
at metabase.driver.util$can_connect_with_details_QMARK_$fn__22532.invoke(util.clj:35)
at metabase.util$do_with_timeout$fn__10226.invoke(util.clj:324)
at clojure.core$binding_conveyor_fn$fn__5754.invoke(core.clj:2030)
at clojure.lang.AFn.call(AFn.java:18)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[469fe718-6ddd-4f5d-8896-78f5fc4eb877] 2021-10-29T16:51:04+08:00 ERROR metabase.api.database Cannot connect to Database
java.lang.Exception: No method in multimethod 'can-connect?' for dispatch value: :googleanalytics
at metabase.driver.util$can_connect_with_details_QMARK_.invokeStatic(util.clj:40)
at metabase.driver.util$can_connect_with_details_QMARK_.doInvoke(util.clj:23)

I've been following your mentioned step actually.

not sure if updating it will help as I saw in the release there's no fix for GA connections after 0.37.0.2 release
but will try to update first.

@vino Post "Diagnostic Info" from Admin > Troubleshooting.
There has been so many changes since 0.37.0.2 - including several security updates - so you should definitely update.

1 Like