Answers from the community

Some of the conversations between community members on questions, suggestions and tips for using Sanity. Join our Discord to be a part of it.

TopicCategoriesFeaturedRepliesLast Updated
401 Unauthorized Error During Vercel Build with Sanity28May 3, 2024
Event handlers cannot be passed to Client Component props in Next.js6Feb 28, 2024
How to update Sanity from 3.19.3 to 3.26.0 using npm?22Jan 24, 2024
Count nested components children in GROQ query4Jan 19, 2024
Creating drafts from published documents and managing draft state8Dec 14, 2023
GROQ query with mixed references and non-references in array returns null4Dec 14, 2023
Slug validation error: name.includes is not a function in custom rule7Aug 18, 2023
Sanity changes not visible on live site despite revalidate setting14Jun 14, 2023
On-demand revalidation: How to revalidate all routes in Next.js with Sanity?7May 3, 2023
TypeError: Cannot read properties of null (reading 'jsonType') in Sanity schema5Sep 28, 2022
Passing undefined to Sanity image URL builder causes error14Sep 11, 2022
Reduce initial data load for paginated blog posts in Sanity/Next.js12Aug 17, 2022
Vercel "No Output Directory named 'dist' found" error with Sanity + NextJS4Aug 8, 2022
Gatsby cache causing null Mux asset references in _rawJSON after node_modules reinstall3May 17, 2022
How to Create a Title for a Sanity-Related Question10Apr 21, 2022
zsh: command not found: sanity after reinstalling CLI17Jan 29, 2022
Handling dynamic meta titles and descriptions in Sanity9Feb 25, 2021
What is the difference between yarn and npm?4Feb 9, 2021