Contentful CLI - Not publishing after import

Hello,

I am using contentful cli to import some data.
The data imports correctly, but it does not publish the new entries after uploading.

test data:
{
“entries”: [
{
“sys”: {
“publishedVersion”: 1,
“publishedCounter”: 1,
“version”: 1,
“publishedBy”: {
“sys”: {
“type”: “Link”,
“linkType”: “User”,
“id”: “30GJ8jOb4qDcPbSq5RMjSo”
}
},
“publishedAt”: “2020-08-31T09:53:31.558Z”,
“firstPublishedAt”: “2020-08-31T09:53:31.558Z”,
“space”: {
“sys”: {
“type”: “Link”,
“linkType”: “Space”,
“id”: “4zg16q5vss6b”
}
},
“environment”: {
“sys”: {
“id”: “staging”,
“type”: “Link”,
“linkType”: “Environment”
}
},
“contentType”: {
“sys”: {
“type”: “Link”,
“linkType”: “ContentType”,
“id”: “model”
}
}
},
“fields”: {
“tesyId”: {
“it-IT”: “0049130”
},
“synced”: {
“it-IT”: false
}
}
}
]
}

Hi @marcoboffo.waves, usually the entries should be published after importing, unless:

  • the command --skip-content-publishing true is used

  • there are errors during the import

Could you kindly check and share the error logs if you have them? They can be found in the same directory of the CLI tool.