- π¨π¦Canada Nathan Tsai
For some reason, I had to make sure my JSON file was not pretty printed (e.g. removed the unnecessary whitespace).
I setup Feeds and feeds_ex and Tamper to migrate content from a D7 site to the D8 site I'm building. At the end of January, I finally got it all working and imported my first content type contents. I went through the same process today for the second one and got an error every time I tried to import it using the same setup I did for the previous content type. "Syntax error The JSON is invalid." in a warning message and in a standard green message "Partners Import: There are no new Partner items." with Partners being the name of the content type. I figured it was something with my new content type so i proceeded to strip out fields and then even recreate the feed with just the NID and Title and a new Feed Type and Feed to import just those two basic fields. Same error. I tried setting it to the content type feed from the one that worked and same error. I then tried updating the originally working content type checking the settings that they're set to update, etc. Same error. Did something happen with any of the updates in the last week that would have caused this or anyone have any insight as to why it keeps throwing this error? I had to install the dev version pre alpha 10 to get Tamper Explode to work, and tried updating feeds and feeds_ex via composer, but no luck and no changes. In the recent logs, it just says "no new 'x' items added" as if it thinks it ran, but didn't find anything new even though i made a new test node, etc. See pics of the error on the one that was working and unchanged 1.5 weeks ago and the newest JSON I created to test a very simple new import.
Closed: works as designed
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
For some reason, I had to make sure my JSON file was not pretty printed (e.g. removed the unnecessary whitespace).