Problem: When I try to upgrade to spring-boot 2.2.x or 2.3.x I face the issue related to cannot fetch cloud configuration because of this class. https://github.com/spring-cloud/spring-cloud-config/blob/2.2.x/spring-cloud-config-client/src/main/java/org/springframework/cloud/config/client/ConfigServicePropertySourceLocator.java#L261 It's sending MediaType V2_JSON not application/JSON.

Solution: If from spring-boot 2.2.x we're going to support V2_JSON why not send a list which included both kinds of MediaType (application/JSON and V2_JSON)?

Workaround: I'm trying to overwrite above class to send application/JSON but It's extra work

Stackoverfolow thread https://stackoverflow.com/questions/64057092/cannot-fetch-cloud-configurations-when-upgrade-to-spring-boot-2-1-x-to-2-3-3/64129860#64129860

Comment From: toannh0104

Cool