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
Issue with file uploads related to CORS policy and Chrome plugin3Dec 3, 2020
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
Troubleshooting deployment and login issues with self-hosted Sanity instance10Feb 23, 2022
Troubleshooting a blog build with React and Sanity, including CORS issues and missing images.27Jul 13, 2021
Issue with updating the backend sanity About section in a YouTube tutorial.35Apr 23, 2022
Issue with CORS when accessing dataset using @sanity/client in Gatsby app.6Jul 30, 2020
Access to XMLHttpRequest at 'https://myAppID.http://api.sanity.io/v1/users/me>' Blocked by CORS Policy1Jul 10, 2020
Discussion about Event Handlers not working after connecting to own data in Sanity/Nuxt/Snipcart template21Aug 25, 2021
Discussion about error connecting to Sanity API and potential solutions23Jun 3, 2020
Adding a CORS Origin With a Wildcard to a New Project5Jul 14, 2021
TextureLoader Error: "Access to Image at 'https://mydomain.com>' Has Been Blocked by CORS Policy"5Aug 11, 2021
Troubleshooting dataset import and env variable issues with Vercel deployment21May 3, 2021
Discussion on deploying Sanity Studio to Google App Engine26May 4, 2021
Issue with burger menu not appearing after deploying site on Vercel.8Sep 22, 2022
Discussion about CORS errors when making HTTP/HTTPS requests in a Sanity.io app.19Dec 30, 2022
How to Set CORs Origins for Cloudflare Pages8May 3, 2022
Issue with setting up client to automatically upload wallet address, resolved with correction of dataset.17May 26, 2022
Issue with Next.js preview API route not working on Vercel deployment22Jun 9, 2022