Answers from the community about CORS

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
Sanity data not refreshing on Vercel deployment with Next.js6Jan 25, 2021
CORS 403 Errors When Loading Sanity Images into Canvas with crossOrigin11Jun 6, 2024
Sanity upsell CORS error6Mar 15, 2024
Sanity API Connection Refused Error on Vercel Deployment10Mar 14, 2024
CORS error when adding token to Sanity createClient in web application3Nov 6, 2023
Sanity Navigation Empty on Vercel Deploy but Works in Dev - Network Error9Oct 10, 2023
Sanity Studio displaying errors after installation in Next.js project6Aug 27, 2023
Troubleshooting CORS Origin problem in project28Feb 23, 2023
Discussion about CORS errors when making HTTP/HTTPS requests in a Sanity.io app.19Dec 30, 2022
Vercel Build Failure: Cannot read properties of undefined (reading 'title')8Nov 13, 2022
Control CORS settings for Sanity Asset CDN when fetching GeoJSON files6Sep 27, 2022
CORS Error: No Access-Control-Allow-Origin Header in React App with Sanity4Sep 5, 2022
Configure Sanity CORS for Vercel deployment without preview URL4Aug 12, 2022
CORS error with capacitor://localhost URL scheme in Sanity iOS app4Jul 26, 2022
Sanity client fetch returns undefined on Netlify Edge functions24Jul 12, 2022
Sanity preview API returns 404 on Vercel but works locally22Jun 9, 2022
Sanity client not uploading wallet addresses despite no errors or connection issues17May 26, 2022
CORS Origins errors persist after removing/re-adding tokens and origins7May 18, 2022