# Logstash Unable to Parse Response

**URL:** <https://discuss.elastic.co/t/logstash-unable-to-parse-response/120208>\
**Category:** Logstash\
**Created:** [February 16, 2018, 3:29pm UTC](https://discuss.elastic.co/t/logstash-unable-to-parse-response/120208 "2018-02-16T15:29:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NaveenKY](https://avatars.discourse-cdn.com/v4/letter/n/9de0a6/32.png) [@NaveenKY](https://discuss.elastic.co/u/NaveenKY)\
**Post date:** [February 16, 2018, 3:29pm UTC](https://discuss.elastic.co/t/logstash-unable-to-parse-response/120208/1 "2018-02-16T15:29:29Z")

</div>

I am trying to call one of the remote endpoint which is http endpoint. Service is returning the valid JSON.  
But when i integrate that in http\_poller, logstash is not able to parse the response. Would really appriciate if i could get any pointer on the same.  
Below is the error stack trace on the same.

```
          "backtrace" => [
        [0] "C:/Users/kumarn12/Desktop/Kibana/logstash-5.5.1/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/response.rb:122:in `body'",
        [1] "C:/Users/kumarn12/Desktop/Kibana/logstash-5.5.1/vendor/bundle/jruby/1.9/gems/logstash-input-http_poller-3.3.1/lib/logstash/inputs/http_poller.rb:190:in `handle_success'",
        [2] "C:/Users/kumarn12/Desktop/Kibana/logstash-5.5.1/vendor/bundle/jruby/1.9/gems/logstash-input-http_poller-3.3.1/lib/logstash/inputs/http_poller.rb:182:in `request_async'",
        [3] "org/jruby/RubyProc.java:281:in `call'",
        [4] "C:/Users/kumarn12/Desktop/Kibana/logstash-5.5.1/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/response.rb:263:in `handleResponse'",
        [5] "Manticore$$Response_462616950.gen:13:in `handleResponse'",
        [6] "C:/Users/kumarn12/Desktop/Kibana/logstash-5.5.1/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/response.rb:50:in `call'",
        [7] "Manticore$$Response_462616950.gen:13:in `call'"
    ],
```

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [February 16, 2018, 3:34pm UTC](https://discuss.elastic.co/t/logstash-unable-to-parse-response/120208/2 "2018-02-16T15:34:39Z")

</div>

Please show

- the full error message and context, and
- the payload it's having trouble with.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 16, 2018, 3:47pm UTC](https://discuss.elastic.co/t/logstash-unable-to-parse-response/120208/5 "2018-03-16T15:47:18Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
