The issue is with the Feign client, although this is correctly encoding and decoding for spring boot applications, somehow it's not encoding or decoding properly in spring-based applications even after adding custom encoders. I had to abandon this and use the native HTTPClient