I did look at many posts about this issue but didn\'t succed to make my code work. When I get a 401 HTTP code the switchMap isn\'t executed so I check its content.
switchMap