Notification

In this help center, you can find content for both Merchant Center Next and the classic Merchant Center experience. Look for the logo at the top of each article to make sure you're using the article for the Merchant Center version that applies to you. 

How to fix: XML tag mismatch

A closing tag must always match the most recent opening tag in the feed

A custom icon for Merchant Center Classic Article Header.

One or more products in your data feed contain a pair of opening/closing XML tags that don't match. Any product containing this error will be skipped. However, other properly-formatted products in your feed will still process. A closing tag must always match the most recent opening tag in the feed. For example, this XML would generate an "XML Tag Mismatch" error:

<g:event_dateTime>
<g:from>2005-12-20T14:00:00
<g:to>2005-12-20T19:00:00</g:to>
</g:event_dateTime>

The XML generates an error because the attribute tag <g:from> doesn't have a matching end-tag </g:from>. Each attribute tag must be terminated by the matching end-tag:

<g:event_dateTime>
<g:from>2005-12-20T14:00:00</g:from>
<g:to>2005-12-20T19:00:00</g:to>
</g:event_dateTime>

Instructions

Step 1: See the affected products

  1. Sign in to your Merchant Center account.
  2. Select Products on the navigation menu, then click Diagnostics.
  3. Click the Item issues tab to view current issues affecting your products.

To download a list (.csv) of all affected products for all issues:

  • Click the download button Download next to the filter button Download, beneath the graph and above the list of issues.

To download a list (.csv) of all affected products for a particular issue:

  • Find the issue under the “Issue” column, then click the download button Download at the end of the row.

To view a list of up to 50 products with this particular issue:

  • Find the issue under the “Issue” column, then click View examples in the “Affected items” column.

Step 2: Update the end-tag to match its attribute tag

  1. Filter the download report so that you can only see products with:
    “Issue title” = XML tag mismatch
  2. Search your product data for those products (using the ID) and update the attribute tags that do not have matching end-tags.

Step 3: Resubmit your product data

  1. After you’ve updated your product data, resubmit it using one of these methods:
  2. Next, check that you’ve fixed the issue by making sure it’s no longer listed on the Diagnostics page.

    Keep in mind: It may take some time for your change to be reflected on the Diagnostics page.

Was this helpful?

How can we improve it?
false
Search
Clear search
Close search
Main menu
13718894393889534419
true
Search Help Center
true
true
true
true
true
71525
false
false