Skip to content

Treat single object JSON as an array with single line #2

Description

@huksley

Hello, currently throws ClassCastException when I am trying to add URL which returns single JSON object

08-15 10:51:43 WARN middleware.process-userland-query :: Query failure {:status :failed,
 :class java.lang.ClassCastException,
 :error "java.lang.ClassCastException",
 :stacktrace (nil),
 :query
 {:native {:query "\n\n{ \"url\": \"https://poloniex.com/public?command=returnTicker\" }", :template-tags {}},
  :type "native",
  :parameters [],
  :async? true,
  :middleware {:add-default-userland-constraints? true, :userland-query? true},
  :info
  {:executed-by 1,
   :context :ad-hoc,
   :card-id nil,
   :nested? false,
   :query-hash [-28, -45, -118, -8, 110, 51, 74, 109, -100, 16, 19, 26, -52, 27, -92, -112, 23, -50, 29, 6, -113, 24, 11, 56, 119, -112, 108, -99, 102, 26, -111, 40]},
  :constraints {:max-results 10000, :max-results-bare-rows 2000}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions