🎤 Builder Talk: The Story Behind Lady Gaga’s Digital Experience – Register now

Resolving Vercel and Sanity.io deployment issue on Slack

9 replies
Last updated: Jan 16, 2025
Hi, I’m hoping I can get on a call with someone who can help me resolve this issue I seem to have between Vercel and Sanity.io
I’ve realistically been stuck on this issue for over a week. Many attempts on my own until I reached out for help last week. Please advise. Thank you.
Jan 14, 2025, 1:47 AM
Does building locally work?
Jan 15, 2025, 4:15 PM
Yes
Jan 15, 2025, 4:16 PM
try
vercel build
and then
vercel deploy --prebuilt
Jan 15, 2025, 4:20 PM
user A
thanks for the suggestion. I was able to replicate the issue using
vercel build
and received the same error as when it deploys to github. Would you have any other suggestions?
Jan 15, 2025, 5:16 PM
The API version string exists, as the thread beforehand suggests, but Vercel is not recognizing the hard code API string.
Jan 15, 2025, 5:17 PM
Could you paste your sitemap.xml and client config?
Jan 15, 2025, 5:34 PM
Your comment made me re-evaluate the route for
/studio
on the sitemap, only to find that it was not updated properly. This route update fixed the disconnect between Vercel and Sanity -- I’m experiencing a different error now that has nothing to do with this particular issue anymore. Thank you so much!!
Jan 15, 2025, 6:26 PM
Great! Let me know if I can help with your other errors
Jan 16, 2025, 8:04 AM
I appreciate it. Thank you so much, have a wonderful weekend!
Jan 16, 2025, 1:23 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?