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

Troubleshooting webhook setup for Gatsby site on Vercel with Sanity content changes

2 replies
Last updated: Aug 28, 2020
Hi everyone! I'm deploying my Gatsby site on Vercel and trying to setup a webhook to rebuild the site whenever content on Sanity changes. I've setup a webhook as shown in the docs , but it doesn't seem to be firing? Any way to test if the webhook fires when content is published, changed, or deleted?
I can confirm that using curl to send a post request does trigger a Vercel build, so the issue is likely not there or with the URL.

I've also tried using Manage and the CLI to create the webhook. Neither have worked. 

Using "sanity hook logs" on the CLI either takes forever or there are no logs.

I've also tried rebuilding Sanity in case that was the issue.

Any ideas?
Aug 28, 2020, 1:42 AM
Hi! We're looking into it. It’s a “it’s us, not you” situation 🙂
Aug 28, 2020, 7:43 AM
Thanks Knut! Saw your other message in the channel that it you were able to get it working. Just tested it myself and everything works as expected on my end. Thanks!
Aug 28, 2020, 5:57 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?