Sitecore Commerce 9 Business Tools: Error with InvalidShop

Reading Time: 1 minute

We have followed documentation on how to install Sitecore Commerce 9 on PaaS. We done bootstrapping and continued with remaining post installation steps.

Problem Description

After fixing issues with 403 Forbidden exceptions we tried to open Business Tools once again from Sitecore Launchpad.

Unfortunately, we saw indefinite loop during start and 400 Bad Request responses for these requests:

2x GET method – xxx.azurewebsites.net/api/GetNavigationView()

1x GET method – xxx.azurewebsites.net/api/GetLanguagesView()

This was response code: “@odata.context”:”https://xxxxxxxx-authoring.azurewebsites.net/Api/$metadata#Sitecore.Commerce.Core.CommandMessage”,”MessageDate”:”2018-05-23T12:17:32.0106229Z”,”Code”:”Error”,”Text”:”Shop ‘xxxxxxCommerceEngineStorefront’ does not exist.”,”CommerceTermKey”:”InvalidShop”

Environment was set to HabitatAuthoring.

This is how it looked like – Indefinite loop:

bizfx issue paas

 

Solution

Solution was to navigate to default storefront under /sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts and rename it to the name that you specified as “defaultshopname” during provisioning PaaS environments.

bizfx issue paas 2

Finally we could see expected screen when navigating to Business tools:

bizfx ok.PNG

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.