Sanity Pioneers: Get early access to betas, extra AI credits, and a direct line to the engineering team. Apply now

Does Sanity dataset import have a long post-processing step at 99%?

12 repliesLast updated: Nov 29, 2025

This is killing me. I’m importing a dataset that has a LOT of assets. It’s been stuck on 99% for an hour and I’m scared it’s failed with 1% left (after 3hrs 40mins getting up to 99%)
Does importing assets have a long “post process” task does anyone know?
AI Update

I feel your pain! Getting stuck at 99% after nearly 4 hours is incredibly frustrating. The good news is that yes, asset imports do have significant post-processing that can take a long time, especially with large datasets.

Based on the Sanity migration documentation, asset uploads are particularly resource-intensive and can cause bottlenecks. Here's what's likely happening:

Why it's stuck at 99%:

What you should do:

For future imports:

The documentation recommends using concurrent uploads with rate limiting (using tools like p-limit) rather than sequential processing, which dramatically improves performance. If you're using a custom script, implementing proper concurrency control can reduce hours-long imports to minutes.

If this import does fail, the good news is that migration scripts should be idempotent - meaning you can re-run them safely using deterministic IDs without creating duplicates. This is a core principle in Sanity's migration approach.

Hang in there - that last 1% is often the longest!

Show original thread
12 replies

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Related contributions