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
- Sign in to your Merchant Center account.
- Select Products on the navigation menu, then click Diagnostics.
- 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 next to the filter button , 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 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
- Filter the download report so that you can only see products with:
“Issue title” = XML tag mismatch - 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
- After you’ve updated your product data, resubmit it using one of these methods:
- 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.