When Click on View and Edit cart button from Mini-cart,
It will redirect to checkout/cart page. And sometimes after 1 second it will automatically redirect to customer/account/login.
When i try to debug more with it, i found one ajax call gives me 401 status code & i found one js file in vendor in that written code like if status code 401 comes then it will redirect to login page.
Js File : vendor/magento/module-checkout/view/frontend/web/js/model/error-processor.js
Can any one explain me, why it gives 401 response status code?