---
schema_version: "1"
id: a0841130117fc1a5b57d7e50ac2a61d45d4ef1564d9945f19828c5e4d1ce94d1
title: Common Recommendation Validator Errors in Commerce Einstein
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_common_validator_errors.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_common_validator_errors.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5ed1daadd51a127afb35643309042998761a4de3d5896e4df0d167ad1830ed4a
description: Here are some of the common errors that sometimes occur, and how to fix them, when using the Recommendation Validator in B2C Commerce Einstein.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Common Recommendation Validator Errors in Commerce Einstein

Here are some of the common errors that sometimes occur, and how to fix them, when using the Recommendation Validator in B2C Commerce Einstein.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:15.822784810126581%">
        <col style="width:29.27215189873418%">
        <col style="width:54.90506329113924%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d122008e38">Error Type</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d122008e41">Error</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d122008e44">Repair</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Error Type" class="slds-cell-wrap" rowspan="2" style="vertical-align:top;" headers="d122008e38 ">Data Error</td>

          <td data-label="Error" class="slds-cell-wrap" style="vertical-align:top;" headers="d122008e41 ">Availability allocation is defined as 0 on a base product in Business
            Manager.</td>

          <td data-label="Repair" class="slds-cell-wrap" style="vertical-align:top;" headers="d122008e44 ">
            <ul>
              <li>Remove inventory definitions when possible. This action results in an
                allocation of N/A.</li>

              <li>If base product ID allocation is required, define a valid amount of
                allocation (for example, 100).</li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error" class="slds-cell-wrap" style="vertical-align:top;" headers="d122008e41 ">Data doesn’t appear for the Einstein Dashboard in the Reports and
            Dashboards tool.</td>

          <td data-label="Repair" class="slds-cell-wrap" style="vertical-align:top;" headers="d122008e44 ">
            <p>Obtaining data for the Einstein Dashboard depends on viewProduct and
              viewReco events firing properly. If data doesn’t appear in the Einstein
              Dashboard, make sure that you’re using the correct <code>isobject</code> statement.</p>
            <ul>
              <li>
                <strong>viewProduct event</strong>—Check the global product detail page template
                for the <code>&lt;isobject object="${product}"
                              view="detail"&gt;</code> statement.
              </li>

              <li>
                <strong>viewReco</strong>—Check content slots for the <code>&lt;isobject
                              object="${product}" view="recommendation"&gt;</code> statement.
              </li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Type" class="slds-cell-wrap" rowspan="5" style="vertical-align:top;" headers="d122008e38 ">Storefront Error</td>

          <td data-label="Error" class="slds-cell-wrap" style="vertical-align:top;" headers="d122008e41 ">
            <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>viewProduct</code></pre>
            <p style="margin-bottom:0;"> isn’t firing.</p>
          </td>

          <td data-label="Repair" class="slds-cell-wrap" style="vertical-align:top;" headers="d122008e44 ">Make sure to use <code>&lt;isobject object="${product}"
                        view="detail"&gt;</code> on global product detail page templates.</td>

        </tr>
        <tr class="">
          <td data-label="Error" class="slds-cell-wrap" style="vertical-align:top;" headers="d122008e41 ">
            <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>viewReco</code></pre>
            <p style="margin-bottom:0;"> isn’t firing.</p>
          </td>

          <td data-label="Repair" class="slds-cell-wrap" style="vertical-align:top;" headers="d122008e44 ">
            <p>Make sure that you use <code>&lt;isobject object="${product}"
                        view="recommendation"&gt;</code> in your content slots</p>
            <p style="margin-bottom:0;">For Page Designer
              implementations, Storefront Reference Architecture (SFRA) versions 6.0 and
              higher include the code necessary to properly set object
              context.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error" class="slds-cell-wrap" style="vertical-align:top;" headers="d122008e41 ">
            <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>clickReco</code></pre>
            <p style="margin-bottom:0;"> isn’t firing.</p>
          </td>

          <td data-label="Repair" class="slds-cell-wrap" style="vertical-align:top;" headers="d122008e44 ">
            <p>Use the Validator to check for clickReco. If it's missing, check the page
              with the recommendations that you clicked for viewReco.</p>
            <p style="margin-bottom:0;">If viewReco is there, make sure that its product ID matches the product ID
              in the viewProduct activity on the page after you click. If the IDs don't
              match, make sure that the <code>isobject</code> tag is configured
              correctly.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error" class="slds-cell-wrap" style="vertical-align:top;" headers="d122008e41 ">The incorrect price is displaying because of base product price
            definitions.</td>

          <td data-label="Repair" class="slds-cell-wrap" style="vertical-align:top;" headers="d122008e44 ">Fix the template API to call on variation price definitions instead of the
            base product ID.</td>

        </tr>
        <tr class="">
          <td data-label="Error" class="slds-cell-wrap" style="vertical-align:top;" headers="d122008e41 ">
            <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>viewCategory</code></pre>
            <p> or </p>
            <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>viewSearch</code></pre>
            <p style="margin-bottom:0;">
              isn’t firing.</p>
          </td>

          <td data-label="Repair" class="slds-cell-wrap" style="vertical-align:top;" headers="d122008e44 ">If you use an <code>isobject</code> tag when rendering each product
            tile, the tracking of these events happens automatically. If the events don't
            fire, check the product tile code.</td>

        </tr>
      </tbody>
    </table>