401 error after SAP Spartacus access token expires

    login with url: http://cx-qa16181492.eastus.cloudapp.azure.com:4200/electronics-spa/en/USD

open Chrome dev tools to see access token is generated and stored in local storage.

    do nothing but just wait till the token expires.


Then press F5 to refresh the browser.

Then you see error message in Chrome dev tools console, and blank screen is displayed.

There are three 401 errors and two 400 errors observed in network tab:


Read More: