ElasticSearch: Error running query: 'dict' object has no attribute 'rstrip'


#1

I have set up a connection between Redash and ElasticSearch and have tried running a query.
When using the sample from the documentation like the following:
"query": "user:kimchy",
Everything works fine and I get results.

But when I try with the third example’s format:

"query": {
    "match": {
      "user": "kimchy"
    }
  },

I get the following error:Error running query: 'dict' object has no attribute 'rstrip'

Technical details:

  • Redash Version: Docker 6.0.0+b8537