Monday, February 12, 2018

Sitecore Experience Commerce - Commerce Business Tools won't load

When attempting the load the Commerce Business Tools in Sitecore Experience Commerce 9.0, the page would stay in a loading state indefinitely.

Experience Commerce Business Tools doesn't load
Looking in the console were several errors related to the GetNavigationView API call:
Http failure response for https://localhost:5000/api/GetNavigationView()
This traces back to the Commerce Authoring API (based on the port number and the IIS websites on my local machine). Looking into the logs for this (located at C:\inetpub\wwwroot\CommerceAuthoring_Sc9\wwwroot\logs for me) dug out the following error:
ERROR CtxMsg.Error.InvalidShopCurrency: Text=Currency 'USD' for Shop 'CommerceEngineDefaultStorefront' was not found.
This could also be seen in the console inside chrome under Network and XHR:

Currency error in the console
This error seems to occur with the default selection of HabitatAuthoring inside the Commerce Business Tools interface. After completing an IIS reset and reloading the page, the error appeared to have disappeared.

Experience Commerce Business Tools working
However this might take a couple tries to "correct itself"...

No comments:

Post a Comment