Thread Starter
amslps
(@amslps)
This page contains the following errors:
error on line 2 at column 7: Namespace prefix g on id is not defined error on line 3 at column 10: Namespace prefix g on title is not defined error on line 4 at column 16: Namespace prefix g on description is not defined error on line 10 at column 9: Namespace prefix g on link is not defined error on line 11 at column 17: Namespace prefix g on product_type is not defined error on line 12 at column 24: Namespace prefix g on fb_product_category is not defined error on line 13 at column 28: Namespace prefix g on google_product_category is not defined error on line 14 at column 15: Namespace prefix g on image_link is not defined error on line 15 at column 26: Namespace prefix g on additional_image_link is not defined error on line 16 at column 14: Namespace prefix g on condition is not defined error on line 17 at column 17: Namespace prefix g on availability is not defined error on line 18 at column 22: Namespace prefix g on availability_date is not defined error on line 19 at column 10: Namespace prefix g on price is not defined error on line 20 at column 15: Namespace prefix g on sale_price is not defined error on line 21 at column 30: Namespace prefix g on sale_price_effective_date is not defined error on line 22 at column 10: Namespace prefix g on brand is not defined error on line 23 at column 9: Namespace prefix g on gtin is not defined error on line 24 at column 8: Namespace prefix g on mpn is not defined error on line 25 at column 22: Namespace prefix g on identifier_exists is not defined error on line 26 at column 18: Namespace prefix g on item_group_id is not defined error on line 27 at column 9: Namespace prefix g on size is not defined error on line 28 at column 19: Namespace prefix g on custom_label_0 is not defined error on line 33 at column 33: Namespace prefix g on quantity_to_sell_on_facebook is not defined error on line 34 at column 15: Namespace prefix g on visibility is not defined error on line 35 at column 33: Namespace prefix g on additional_variant_attribute is not defined Below is a rendering of the page up to the first error.
Hi @amslps,
Thanks for reaching out!
Upon inspecting the feed URL you shared, the issue appears to be related to caching. Cached versions of the feed may not reflect the latest changes, which can cause parsing errors.
To bypass caching, please try accessing the feed using the updated URL below:
Updated URL: https://froninail.com/wp-content/uploads/webtoffee_product_feed/wt_fb_Feed.xml?q=1
Thread Starter
amslps
(@amslps)
I used this url with ?q=1 it still showed the same problem –
This page contains the following errors:
error on line 2 at column 7: Namespace prefix g on id is not defined error on line 3 at column 10: Namespace prefix g on title is not defined error on line 4 at column 16: Namespace prefix g on description is not defined error on line 10 at column 9: Namespace prefix g on link is not defined … 1) Should I delete the current one and re-generate xml and then plus ?q=1 or 2) the error you see (e.g., “Namespace prefix g on id is not defined”) indicate that the XML file is missing a declaration for the g: namespace. For a valid feed, the root element should include something like:<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">?
-
This reply was modified 1 year, 3 months ago by
amslps.
Thread Starter
amslps
(@amslps)
I uploaded it to S3 and bypassed this cache problem. Thank you!
Hi @amslps,
Thanks for the update! We’re glad to hear that you resolved the caching issue by uploading the feed to S3.
We’ll mark this thread as resolved, but if you have any further questions, feel free to start a new thread—we’re happy to help!