How to fix: XML missing attribute

Item attributes need to be prefixed with the according namespace.
On this page

Reason why the issue is happening

All item attribute names have to be prefixed with the appropriate namespace. For example:

<price>100</price>

This isn't understood by our system. The attribute is missing the namespace and will therefore cause a warning and will not be processed by the system.

Each attribute name must be prefixed with the corresponding namespace:

<g:price>100</g:price>

How to fix the issue

Ensure that all attribute names in your feeds XML file have the right namespace set.

If that's the case already, ensure that the namespace is properly defined in the XML header.

For RSS, ensure that the header is present:

<rss xmlns:g="http://base.google.com/ns/1.0" version="2.0">

For Atom, ensure that the header is present:

<feed xmlns="http://w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0">


Next steps

After making the requested changes, check that you've fixed the issue by making sure it's no longer listed on the "Needs attention" page.

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

Learn more about Product data specifications.

Was this helpful?

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