✨Discover storytelling in the AI age with Pixar's Matthew Luhn at Sanity Connect, May 8th—register now

Error message "Sanity LocaleContext value missing" fixed by updating to the latest version of Studio.

10 replies
Last updated: Apr 3, 2024
Hello everyone, I don't know if there is an existing thread regarding this, but I'm getting "Sanity LocaleContext value missing." error both when I publish or delete. I will attach screenshot of error message and my code snippet to this thread.
Apr 2, 2024, 4:00 PM
Error message screenshot:
Apr 2, 2024, 4:00 PM
Could this conditional field cause the issue I'm facing?
Apr 2, 2024, 4:02 PM
What version of the Studio are you running?
Apr 2, 2024, 4:08 PM
user M
, are you referring to this?
"@sanity/eslint-config-studio": "^3.0.1"
Apr 2, 2024, 4:15 PM
No I mean the version of the Studio itself.
Apr 2, 2024, 5:52 PM
I believe it's 3.32.0
Apr 2, 2024, 6:17 PM
Can you try updating to the latest version to see if the issue persists? I believe it was fixed in 3.35 or somewhere abouts.
Apr 2, 2024, 6:30 PM
user M
, updating to the latest version did the magic and fixed the issue. Thank you for your help!
Apr 3, 2024, 3:01 PM
Awesome! Glad it fixed it!
Apr 3, 2024, 5:02 PM
Bumping the version definitely helped! Thanks
Apr 3, 2024, 7:19 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?