Sitecore Commerce 9 Business Tools: Error with InvalidShop

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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: