Sitecore Asked on November 26, 2020
I have installed sitecore commerce and now in storefront, When i am trying to navigate to the product list page, i get the following exception
Message: An error occured while trying to contact the Commerce Service. Error code BadGateway
An error occured while trying to contact the Commerce Service. Error code BadRequest
In all the sitecore 9 and above versions, this error happens when the sitecore instance is not able to find out the correct instance of commerce engine.
The storefront will get the configuration from ShopsService URL and communicate with the corresponding commerce engines.
Here are 2 steps you must check when this happens
Correct answer by Rama Krshna Ila on November 26, 2020
Get help from others!