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
Conditionally select image reference or return all other fields in GROQ4May 14, 2024
How to login when `npm create sanity@latest` requires authentication before install?4May 10, 2024
Custom validation rules based on another field's value12May 10, 2024
How to remove "Create New Document" button from filtered document lists in Sanity4May 10, 2024
GraphQL Deploy Error: ES Module Issue with string-width in Sanity CLI4May 10, 2024
How to display multiple schemas but allow selecting only one?17May 9, 2024
Sanity v3: Custom slug validation with hooks causing errors after migration3May 8, 2024
Vite/Rollup error resolving "@/sanity/lib/api" import in sanity.config.ts9Apr 26, 2024
Spellcheck support for different languages in Sanity3Apr 25, 2024
Mailto scheme not working in Sanity URI validation5Apr 25, 2024
Import error: 'retry' not exported from 'get-it/middleware' in Sanity client13Apr 24, 2024
Sanity Studio 404 error on page refresh in Astro.js setup27Apr 24, 2024
Where to fix deprecated structure syntax after Sanity upgrade?9Apr 24, 2024
Error installing Sanity through npm on terminal - authentication issue7Apr 24, 2024
Sanity v3 styled-components peer dependency conflict on upgrade14Apr 24, 2024
Typegen returns `Array<never>` when filtering with `!= true` on boolean field10Apr 24, 2024
Half of media images vanished, showing only empty rectangles with filenames8Apr 23, 2024
Portable text editor toolbar suddenly empty/missing21Apr 23, 2024