The Feign client fails to decode a JSON response, but it works fine after adding an interceptor (even if the interceptor does nothing). We also added Accept: application/json in the request headers, but it didn't work.

In the interceptor, we used:

JacksonDecoder delegate = new JacksonDecoder();
delegate.decode(response);

Comment From: OlgaMaciaszek

Hi @Saranpjs727, thanks for reporting the issue. Please learn how to properly format code and logs. Please provide a minimal, complete, verifiable example that reproduces the issue.

Comment From: Saranpjs727

thanks OlgaMaciaszek