# Unable to Parse response body for response bla... bla... from TicketService(module) in Java Spring Data Elasticsearch

**URL:** <https://discuss.elastic.co/t/unable-to-parse-response-body-for-response-bla-bla-from-ticketservice-module-in-java-spring-data-elasticsearch/322052>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [December 27, 2022, 7:12pm UTC](https://discuss.elastic.co/t/unable-to-parse-response-body-for-response-bla-bla-from-ticketservice-module-in-java-spring-data-elasticsearch/322052 "2022-12-27T19:12:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davut](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@Davut](https://discuss.elastic.co/u/Davut)\
**Post date:** [December 27, 2022, 7:12pm UTC](https://discuss.elastic.co/t/unable-to-parse-response-body-for-response-bla-bla-from-ticketservice-module-in-java-spring-data-elasticsearch/322052/1 "2022-12-27T19:12:54Z")

</div>

I m take same error. I have account-service,ticket-service,notification-service,eureka-service.(Java spring cloud microservice app) Ticket-service is using elasticsearch. Ticket-service database is mysql 8.0.31 on docker. I want to creat ticket. I m opening postman. I am filling the ticket json. I am sending it with the post method. After  
"status": 500,  
"error": "Internal Server Error",  
"trace": "org.springframework.dao.DataAccessResourceFailureException: Unable to parse response body for Response{requestLine=PUT /ticket/\_doc/59e0dbdc-26c1-4dda-91d7-ea1af24bbb8a?timeout=1m HTTP/1.1, host=[http://localhost:9200](http://localhost:9200), response=HTTP/1.1 201 Created}; nested exception is java.lang.RuntimeException: Unable to parse response body for Response{requestLine=PUT / bla... bla... what should I do? I m using elasticsearch 8.4.2 on docker.  
ticket-service

```auto
@Repository
public interface TicketElasticRepository extends ElasticsearchRepository<TicketModel, String> {
}

```

pom.xml

```auto
    <properties>
        <java.version>17</java.version>
        <elasticsearch.version>7.17.0</elasticsearch.version>
    </properties>

```

pom.xml again.

```auto
       <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-elasticsearch</artifactId>
        </dependency>

```

---

<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:** [January 24, 2023, 7:13pm UTC](https://discuss.elastic.co/t/unable-to-parse-response-body-for-response-bla-bla-from-ticketservice-module-in-java-spring-data-elasticsearch/322052/2 "2023-01-24T19:13:27Z")

</div>

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