Getting error when clicking explore result on SQL query

Getting below error:
Expected native source query to be a string, got: clojure.lang.PersistentArrayMap metabase error

When I am clicking on Explore Results on SQL query, getting the above error

please upgrade to the latest version