Build Failures
Match your build error to a fix -- config mistakes, MDX syntax errors, missing files, OpenAPI issues, and timeouts.
Open the failed build in your Deployments tab and match the error message to a section below.
Finding the Error
- Go to your project's Deployments tab
- Click the failed build
- Review the error message and log
The log shows exactly what went wrong and where.
Common Failures
Invalid Configuration
Error: "Invalid docs.json"
Your docs.json has syntax or schema errors.
Fix:
- Check for missing commas, brackets, or quotes
- Run
jamdesk validatelocally - Compare against the schema reference
Missing Pages
Error: "Page 'path/to/page' not found"
A page in navigation doesn't exist.
Fix:
- Verify the file exists
- Check the path matches exactly (case-sensitive)
- Don't include
.mdxextension indocs.json
MDX Syntax Errors
Error: "MDX compilation failed"
Invalid MDX or JSX syntax.
Common causes:
- Unclosed tags:
<Card>without</Card> - Unescaped braces:
{instead of\{ - Invalid props:
title=valueinstead oftitle="value"
Missing Images
Error: "Asset not found"
An image referenced in MDX doesn't exist.
Fix:
- Check the image path is correct
- Paths are relative to your docs directory
- Verify the file was committed to Git
Debugging Steps
The log tells you exactly what failed and where.
Run jamdesk dev to reproduce the error.
Run jamdesk validate to check your configuration.
Review your last commit for the issue.
Still Stuck?
If you can't resolve the issue:
- Copy the full build log
- Note your project ID
- Contact support
