Go Behind the Experience to see how Tecovas brings the West to life with Sanity 🤠 July 18th

Troubleshooting widget deployment with Netlify build hook

5 replies
Last updated: May 11, 2020
https://www.sanity.io/plugins/sanity-plugin-dashboard-widget-netlify I cant get this widget to work. I am able to curl the build-hook just fine, but the widget just gives me a mystical 404-message when I press the deploy-button
May 11, 2020, 3:24 PM
Do you need to add the hook to CORS origins?
May 11, 2020, 3:26 PM
Have you added your
apiId
and
buildHookId
to the widget inside
dashboardConfig.js
?
No need to add the hook to CORS origins as the Studio URL on Netlify will already be there if you’re able to open the Studio itself.
May 11, 2020, 3:49 PM
Have you added your
apiId
and
buildHookId
to the widget inside
dashboardConfig.js
?
No need to add the hook to CORS origins as the Studio URL on Netlify will already be there if you’re able to open the Studio itself.
May 11, 2020, 3:49 PM
Yeah, I ran into that too. Could probably updated in the documentation. I may try to do that if that plugin is open sourced 🙂
May 11, 2020, 4:32 PM
(Noted, thanks Ken!)
May 11, 2020, 6:50 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?