I was attempting to use clj-http in a portkey mounted function and ended up getting
START RequestId: a33ee750-48d6-11e8-ab04-bbc16d25df58 Version: $LATEST
Attempting to call unbound fn: #'clj-http.core/request: java.lang.IllegalStateException
java.lang.IllegalStateException: Attempting to call unbound fn: #'clj-http.core/request
at clojure.lang.Var$Unbound.throwArity(Var.java:45)
at clojure.lang.AFn.invoke(AFn.java:32)
at clojure.lang.Var.invoke(Var.java:381)
at clj_http.client$wrap_request_timing$fn__21927.invoke(client.clj:1078)
at clj_http.client$wrap_async_pooling$fn__21935.invoke(client.clj:1111)
at clj_http.headers$wrap_header_map$fn__20840.invoke(headers.clj:147)
at clj_http.client$wrap_query_params$fn__21807.invoke(client.clj:812)
at clj_http.client$wrap_basic_auth$fn__21813.invoke(client.clj:835)
at clj_http.client$wrap_oauth$fn__21818.invoke(client.clj:852)
at clj_http.client$wrap_user_info$fn__21827.invoke(client.clj:872)
at clj_http.client$wrap_url$fn__21909.invoke(client.clj:1030)
at clj_http.client$wrap_decompression$fn__21578.invoke(client.clj:416)
at clj_http.client$wrap_input_coercion$fn__21731.invoke(client.clj:632)
at clj_http.client$wrap_additional_header_parsing$fn__21756.invoke(client.clj:687)
at clj_http.client$wrap_output_coercion$fn__21718.invoke(client.clj:576)
at clj_http.client$wrap_exceptions$fn__21525.invoke(client.clj:250)
at clj_http.client$wrap_accept$fn__21771.invoke(client.clj:730)
at clj_http.client$wrap_accept_encoding$fn__21778.invoke(client.clj:752)
at clj_http.client$wrap_content_type$fn__21765.invoke(client.clj:713)
at clj_http.client$wrap_form_params$fn__21874.invoke(client.clj:954)
at clj_http.client$wrap_nested_params$fn__21895.invoke(client.clj:988)
at clj_http.client$wrap_flatten_nested_params$fn__21904.invoke(client.clj:1012)
at clj_http.client$wrap_method$fn__21832.invoke(client.clj:888)
at clj_http.cookies$wrap_cookies$fn__19719.invoke(cookies.clj:131)
at clj_http.links$wrap_links$fn__21207.invoke(links.clj:63)
at clj_http.client$wrap_unknown_host$fn__21912.invoke(client.clj:1041)
at favoreats_search.recipes$httpfn.invokeStatic(recipes.clj:27)
at favoreats_search.recipes$httpfn.invoke(recipes.clj:26)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.AFn.applyTo(AFn.java:144)
at clojure.core$apply.invokeStatic(core.clj:657)
at clojure.core$apply.invoke(core.clj:652)
at portkey.core$mount_fn$wrap__34831.invoke(core.clj:638)
at portkey.LambdaStub.handleRequest(LambdaStub.java:33)
END RequestId: a33ee750-48d6-11e8-ab04-bbc16d25df58
REPORT RequestId: a33ee750-48d6-11e8-ab04-bbc16d25df58 Duration: 329.79 ms Billed Duration: 400 ms Memory Size: 3008 MB Max Memory Used: 111 MB
Am I doing something wrong?