The (424) Method Failure error message occurs during Sitecore Experience Commerce installation


Description

In the process of installing Sitecore Experience Commerce, the following error occurs:

TerminatingError(Invoke-RestMethod): "Initialize-Item : Cannot bind argument to parameter 'SearchResultItem' because it is null.
At line:15 char:156
+ ... ultisite.IMultisiteContext]).GetTenantItem($CurrentItem) | Wrap-Item
+                                                                 ~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Initialize-Item], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Cognifide.PowerShell.Commandlets.Data.InitializeItemCommand"
Error occured: The remote server returned an error: (424) Method Failure....
Creating the default storefront complete...

Solution

To resolve the issue, skip the CreateDefaultTenantAndSite task and create a new site manually after the installation is finished.