'Invalid JSON Response from server' - when navigating between a spring endp

Hello,

I’m trying to implement views as endpoints into a micro-service.
To achieve this I implemented a method that redirects from the specific endpoint (@Requestmapping(“/{}/view”)) to the Vaadin-View (@Route(“/displayviews”)) that now displays a Grid filled with the Data from “{}”. However when I do this an “Invalid JSON response from server:” is called and the tap description now says “SwaggerUI” instead of “localhost:8080/displayviews”.

So far I found out that this is only happing when the SwaggerUI is on @RequestMapping(“/”) and the displayviews class is adding a different class as the component or view. However, the SwaggerUI has to stay on it’s RequestMapping as a different micro-service is using it from there.

Did anyone came across a similar problem and has found a solution?