-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Unable to match an existing element." when updating against a slug #1515
Comments
Still having trouble with this after the recent update. |
Hi, thanks for getting in touch! Could you please share a screenshot of the entire mapping screen and also let me know what you have selected as the Primary Element? |
Thanks for the info! Your Primary Element should be /posts/post. There’s a bit more info on this subject here. As for the error you’re getting, the field you want to use as the unique identifier must also be mapped. Without that mapping, the import has no data to match the elements in the system against. Here’s a bit more info about unique identifiers. I hope this helps! I will close this now, but feel free to reach out again if you run into any further problems. |
I really didn't want to wake up today as the guy who didn't read the docs! Thank you. It worked. |
Glad to hear it's all working as expected now 🙂 |
Description
Using Craft 5.4.4 and FeedMe 6.3.0, MySQL 8
I have about 80 existing articles that I'm trying to update with title tags and meta descriptions from an xml file. I tried this with a cvs file first and got the "unable to match" error. So I "summoned" an xml schema and exported the data as xml. Still getting the same error. I'm sure the slugs exist and should match. I've tried selected the root from three different levels in the hierarchy (including one that lists the record count). I also tried to match on the Title. Same issue.
The xml schema and a sample record...
Steps to reproduce
Results in errors like this...
Unable to match an existing element. Have you set a unique identifier for ["slug"]? Make sure you are also mapping this in your feed and it has a value. - Element.php: 178.
Any help would be greatly appreciated! Thanks.
The text was updated successfully, but these errors were encountered: