This is the error response I get when using WebClient
currently
{
"type": "https://www.jhipster.tech/problem/problem-with-message",
"title": "Internal Server Error",
"status": 500,
"detail": "401 Unauthorized from GET http://localhost:8080/services/user/api/users/1",
"path": "/api/posts",
"message": "error.http.500"
}
This is how I am using WebClient
webclient.get().uri(ur).retrieve().bodyToMono(User.class).block();