PlanningFailureException when Flux returned from repository to Mono<ServerResponse>

The reason you get a Planning exception is because you don’t have a primary index.
It’s discussed in your other thread.

  • indexes are not needed for findById(), [they are needed for any other find]