The Import doesn't import nor show error messages

Hi guys, I've been trying importing documents via the import/export tool.
After loading the zip file containing a bunch of json files, I am able to press the "Import Now" button.

Unfortunately after a while (~10/20 min) the "Import Now" button gets available to press again.
I tried a couple of times, but it seems that nothing is getting imported, and I don't receive any error message. What can I do?

My json files are something like this

{
  "uid": "name-surname",
  "author_name": "Name Surname",
  "author_image": {
    "origin": {
      "url": "https://www.mywebsite.com/pictures/xyz.jpeg"
    }
  },
  "type": "author",
  "lang": "it-it",
  "grouplang": "YUi4FREAACEAq6wK"
}

Hi Marco,

Thanks for reaching out.

Can you please share with us (in a private message if possible) your repository name in order to be able to investigate this issue?

Best,
Fares

Hi Fares,

I've sent you a private message with the repository name. Don't know if you've seen that already

Thanks!

Yes sure, I've got the private message and I'm investigating the issue.

Sorry, but can you also share a zip file of the data you are trying to import with me in a private message?

Thanks, I've got the files and I'm working on reproducing the issue.

Hi, I have been able to reproduce this issue on a clone of your repository, and I don't know the root cause of the problem, so for that, I have created a point in our issue tracker, and we will let you know once we get any updates.

Thanks Fares for the update, but this is critical for our choice of a Saas CMS

I have tagged this thread as a priority, and please don't hesitate to follow up with us.

1 Like

Hello Marco.

We did a test with the zip you sent us and we found that the Import is broken because there are Author documents that do not have an image.

For example, here's the current alberto.sannino.json file. You need to remove all the empty author_image fields that are equal to "" for the import to work properly.

{
  "uid": "alberto-sannino",
  "author_name": "Alberto Sannino",
-  "author_image": { "origin": { "url": "" } },
  "type": "author",
  "lang": "it-it",
  "grouplang": "YUi4FREAACEAq6wK"
}

Please let us know if this solution works for you.

Hey @sviluppo

We close the threads after a week with no new activity. If this happens and you want to continue the conversation, you can easily flag it to reopen it and add a new comment.

Thanks.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.