This does mean they’ve never been published by now, right?
From what I know, those assets are not available at the images.contentful.com endpoint, until they are published.
Have you tried setting the downloadAssets option to true?
hey @vmilone,
Khaled here the maintainer of the import and export tools.
The import tool tends to import data as is, so if an asset is draft in your source space it will be imported as draft to your destination space.
But maybe we should actually still keep the asset in draft but process it to avoid that broken bhaviour.
I’ll see what I can do.
Best,
Khaled
Hi @vmilone,
This is actually fixed, in the @next version
If you npm i contentful-import@next you should get the fixed version. You can work with that for now until we make a final release.
Have you also tried it with next version? next is the name of latest beta version.
So, you can get it like Khaled mentioned earlier: npm i contentful-import@next
Sorry for that!
We’re very busy releasing main JS SDK https://github.com/contentful/contentful.js/releases and unfortunately, had no time to tackle this issue with import tool. Apologize for the inconvenience!
We’re doing our best to make this happen very soon, but I don’t want to give you false promises (simply because of other urgent issues). We don’t have strict milestone for releasing new import version, but, again, hopefully it’s gonna happen soon.
I got good news. We were able to merge the branch which includes the bugfix, I upgraded the tool to use the latest SDK version and released a new beta version.
Just download it via npm install -g contentful-import@next
Besides of sweeter output, it should also now process draft assets. Please let me know if that worked now for you.
I’ve installed 5.0.2-beta1 version and then I launched my scripts. Some of assets are correctly uploaded and processed but during the “Import assets” task the script crashed.
Yes, could you please send us the export file? I kindly ask you to move this conversation to our official support channel in order to keep files safe and as further investigation is required.
Could you please send us details and the export file at support@contentful.com or via Submit ticket form: https://www.contentful.com/support/ ?
Thanks a lot and once again sorry for the inconvenience!
Did anything come out of this effort? I’m seeing the exact same problem now. I can re-export and import using the new libraries but I’d like some insight.