Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

Sanity "Webhook" to a Vercel "Deploy URL" Trigger Not Working

2 replies
Last updated: Jun 8, 2021
Hi Sanity - we've connected a Sanity "Webhook" to a Vercel "Deploy URL" to trigger a redeploy any time our content changes. Interestingly, we've noticed that Vercel is rebuilding with the old version of our content. If we rebuild again a few minutes later, it gets the new content.
Is there any chance your Sanity's webhooks are firing before the change is visible to Vercel?
Jun 8, 2021, 9:13 PM
uhh that could be the case if you’re pull from the CDN’ed sanity endpoint. do you have
useCdn: false
set? see here
Jun 8, 2021, 10:49 PM
That was it, thank you
Jun 8, 2021, 11:11 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?