Hello Support,
I’m using Dato CMS with Astro as the SSG and deploying to Netlify.
After following this guide: DatoCMS & Astro | Docs
I’ve connected Dato CMS with Astro and the text changes I’ve made in the CMS come through to the front end on the local version.
Next I set up the project to deploy through GitHub;
And the Netlify project is here;
Everything is great until I try to deploy and I get the attached build error.
The error message is saying the ‘title’ field from Dato CMS is possibly undefined or may not be in the correct file (index.astro). But I’ve checked this and ‘title’ is working on my local version.
I’ve been through the settings and it all looks good.
Any help would be greatly appreciated!
Thanks,
Richard Gill
PLEASE help us help you by writing a good post!
- We need to know your netlify site name. Example:
gifted-antelope-58b104.netlify.app - DNS issues? Tell us the custom domain, tell us the error message! We can’t help if we don’t know your domain.
- Build problems? Link or paste the FULL build log & build settings screenshot
- Did you try Ask Netlify, our generative AI chatbot, before posting? It pulls info from Support Guides and recent solved forums posts.
The better the post - the faster the answer.


