Migrating localized documents to another repository

Hello all, we're running up against an issue with migrating localized documents to another repository. The new repository is an all-new site which was built from the ground up. It contains a blog though which matches the legacy site, including the slices and content types of the blog documents. The issue is we manually migrated the English content at launch and created new documents for each article. We'd like to now migrated the non-English equivalents but get the "We found some minor errors in your documents" error upon import, when testing with a single JSON example.

We can manually curate the JSON files so it's only the blog posts that we're attempting to import, but the error isn't clear what else is needed. The uids match for all the documents but I see the URLs for assets reflect the legacy site's URL/domain.

Has anyone done this before?

Hello @jason3

Welcome to the Prismic community.

I need more information from you. Could you please send me the URL of your repository and a Zip file that you want to import?

Thanks,
Priyanka

Greetings @Priyanka — thank you for the response! Sure, I can provide those details. Included in the attached are two examples of non-English content from our original repository, algorandfdn-legacy, which is at this URL: https://algorandfoundation.prismic.io

We are looking to migrate a series of these files to the new repository, algorandfoundation, to match up with the English posts with the same UID. It is located here: https://algorandfoundationv2.prismic.io/

JSON-examples.zip (5.3 KB)

Hello @jason3

Sorry for the delayed response. I was off the last few days. I am looking into the issue now and will come back to you as soon as possible.

Thanks,
Priyanka

Hello @jason3

Thanks for the patience.

We have figured out the Import/Export issue is coming due to the Bulk action cluster. It's stopping you from importing the documents even though you get minor errors because minor errors are avoidable.

Can I move your repo out from the Bulk actions until the issue is resolved?

Thanks,
Priyanka

Great, thank you Priyanka. I don't understand completely regarding the Bulk actions but you're free to change the algorandfdn-legacy repo. The algorandfoundation repo is our live site so it cannot be changed.

Hello @jason3

Bulk actions allow you to perform multiple tasks on Prismic documents at the same time, like

  • bulk Publish
  • bulk move to a release
  • bulk Archive
    You can find the complete detail of bulk actions in this guideline.

The algorandfdn-legacy is already out of the bulk actions cluster. And you are migrating documents to the algorandfoundation repository that is in the bulk actions cluster. If I move out the algorandfoundation repository from the bulk actions, it doesn't cause any issue on your live website, and you will be able to migrate documents to this repository.

Thanks,
Priyanka

Great, thanks @Priyanka

If there's no impact to the live site then let's try it. You can move algorandfoundation into the bulk actions cluster.

Thanks,
Jason

Hello @jason3

The algorandfoundation repository is being transferred to another cluster. There should be no issue in the migration of documents to this repository. Let me know if you find any trouble.

Thanks,
Priyanka