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]

  1. 0

    Integration-testing Spring's RestTemplate with MockRestServiceServer - using returned body despite 500 error

    Stack Overflow | 2 months ago | Amos M. Carpenter
    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]
  2. 0

    Spring Integration http:outbound-gateway "no suitable HttpMessageConverter"

    Stack Overflow | 2 years ago | Sean Connolly
    org.springframework.web.client.RestClientException: Could not write request: no suitable HttpMessageConverter found for request type [com.company.FileRecord] and content type [application/x-java-serialized-object]
  3. 0

    Springs RestTemplate doesn't find the right MessageConverter when reciving data from the IMDB api

    Stack Overflow | 4 years ago
    org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [interface javax.xml.transform.Source] and content type [application/octet-stream]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    image from httpresponse to bitmap with Spring

    Stack Overflow | 4 years ago | Jasper
    org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [android.graphics.Bitmap] and content type [image/jpg;charset=utf-8] 03-13 22:54:36.106: W/System.err(26547): at org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:79)
  6. 0

    Could not extract response: no suitable HttpMessageConverter found for response type

    Stack Overflow | 2 years ago | Anish Lodhi
    org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [class com.mycompany.MyChannel.model.FFSampleResponseHttp] and content type [text/plain;charset=UTF-8]

    8 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Spring
      RestTemplate.exchange
      1. org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:110)
      2. org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:809)
      3. org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:793)
      4. org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:572)
      5. org.springframework.web.client.RestTemplate.execute(RestTemplate.java:530)
      6. org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:476)
      6 frames