🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup

Answers from the community about CORS

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

TopicCategoriesFeaturedRepliesLast Updated
Hi all! Does anyone have problem on deoplloying on Vercel (Using Next. js as a frontend)? I have two test projects, andonce...6Jan 25, 2021
CORS error and upgrading to v3.30 resolved with some TypeScript updates.6Mar 15, 2024
Error connecting Sanity CMS to a site deployed on Vercel, seeking help with CORS configuration and API endpoint.10Mar 14, 2024
Issue with CORS policy when adding a token to a web application3Nov 6, 2023
Issue with burger menu not appearing after deploying site on Vercel.9Oct 10, 2023
How to fix CORS errors when running Sanity Studio in a Next.js project.6Aug 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
Reviving a script to update CORS origins in PR-environments, encountering issues with token grants12Nov 14, 2022
Next.js blog site deployment to Vercel failing with "Cannot read properties of undefined" error8Nov 13, 2022
Can I Control CORS Settings for the Asset CDN?6Sep 27, 2022
CORS error - No access control origin4Sep 5, 2022
Vercel / Nextjs - How to Grant Access to Vercel4Aug 12, 2022
CORS Errors When Trying to Fetch a File Using Capacitor4Jul 26, 2022
Discussion about deploying Sanity Hydrogen demo to Netlify and resolving issues with `@sanity/client`24Jul 12, 2022
Issue with Next.js preview API route not working on Vercel deployment22Jun 9, 2022
Issue with setting up client to automatically upload wallet address, resolved with correction of dataset.17May 26, 2022
Removing and Re-adding CORS Origins7May 18, 2022