See how we built our intranet. Live + Q&A, June 30

Stuck in "Resolving structure" loop when restoring document to past state

13 repliesLast updated: Dec 1, 2025

Hey there. I have an issue with restoring my data. I want to restore a document that to a state 6 days ago, so further down the line. When I hit restore, I’m trapped in the
Resolving structure
loop and get following error in the network tab:
AI Update

I understand you're stuck in a "Resolving structure" loop when trying to restore a document to its state from 6 days ago. This is frustrating, and while this specific error pattern isn't documented in the official Sanity resources I've checked, I can help you troubleshoot it.

First, verify your history retention:

According to the Document History documentation, history retention depends on your plan:

If you're on the Free plan, 6-day-old revisions won't be available. However, since you're seeing the restore interface, this is likely not your issue.

Troubleshooting steps to try:

Getting more specific help:

Since this appears to be an unusual error, I'd strongly recommend sharing the actual error message from your network tab (and browser console) in the Sanity Community Slack or opening a support ticket if you're on a paid plan. The specific error details will help identify whether this is a known bug or something specific to your setup.

If you can share the actual error message here or in the community, we can provide much more targeted guidance on what's causing the "Resolving structure" loop.

Show original thread
13 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