org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [class my.package.MyCustomResult] and content type [application/octet-stream]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Amos M. Carpenter
, 1 year ago
Could not extract response: no suitable HttpMessageConverter found for response type [class my.package.MyCustomResult] and content type [application/octet-stream]
via Stack Overflow by Prabhat Choudhary
, 9 months ago
Could not extract response: no suitable HttpMessageConverter found for response type [class org.habba.web.rest.registration.LoginApiResponse] and content type [text/html]
via Stack Overflow by alexanoid
, 1 month ago
Could not extract response: no suitable HttpMessageConverter found for response type [class com.example.domain.Product] and content type [application/json;charset=utf-8]
via Stack Overflow by Gremi
, 4 months ago
Could not extract response: no suitable HttpMessageConverter found for response type [class de.db.vendo.bue.buchung.model.KostenpflichtigeBuchung] and content type [application/json;charset=utf-8]
via Stack Overflow by Rudi Wijaya
, 7 months ago
Could not extract response: no suitable HttpMessageConverter found for response type [id.co.bippo.tlc.controller.CatalogResponse<id.co.bippo.tlc.controller.entities.Person>] and content type [application/json;charset=UTF-8]
via Stack Overflow by Unknown author, 2 years ago
Could not extract response: no suitable HttpMessageConverter found for response type [interface javax.xml.transform.Source] and content type [application/octet-stream]
org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [class my.package.MyCustomResult] and content type [application/octet-stream]
at org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:110)
at org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:809)
at org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:793)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:572)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:530)

Users with the same issue

3 times, 3 weeks ago
12 times, 1 month ago
6 times, 3 months ago
8 times, 8 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.