If its working on postman, its probably with how your request is created, you are using SimpleClientHttpRequestFactory(), it could be something with authorization, try placing a breakpoint and finding the exact line of code where the stack trace is being thrown. It could also be something with a type mismatch ect... Try to match it with your postman