Build Error Reference
Every build error code with its root cause and fix -- configuration, MDX syntax, OpenAPI, timeouts, and asset issues.
Find your error code with Ctrl/Cmd+F or browse by category: configuration, MDX, OpenAPI, timeouts, and assets.
Configuration Errors
INVALID_DOCS_JSON
Message: "Invalid docs.json configuration"
Cause: Your docs.json file has syntax errors or invalid values.
Fix:
- Run
jamdesk validatelocally to see detailed errors - Check for missing commas, brackets, or quotes
- Verify all values match the expected schema
MISSING_PAGE
Message: "Page 'path/to/page' referenced in navigation but file not found"
Cause: A page listed in docs.json navigation doesn't exist.
Fix:
- Check the file exists at the specified path
- Verify the path in
docs.jsonmatches the actual filename (without.mdx) - Paths are case-sensitive—check capitalization
INVALID_FRONTMATTER
Message: "Invalid frontmatter in 'path/to/page'"
Cause: The YAML frontmatter at the top of an MDX file is malformed.
Fix:
- Ensure frontmatter starts and ends with
--- - Check for invalid YAML syntax (missing colons, bad indentation)
- Quote strings that contain special characters
MDX Errors
MDX_SYNTAX_ERROR
Message: "MDX compilation failed"
Cause: Invalid MDX or JSX syntax in your content.
Fix:
- Ensure all JSX tags are properly closed (
<Card>...</Card>) - Check that props use correct syntax (
title="value"nottitle=value) - Escape curly braces in regular text:
\{instead of{
COMPONENT_NOT_FOUND
Message: "Unknown component 'ComponentName'"
Cause: Using a component that doesn't exist in Jamdesk.
Fix:
- Check Components reference for correct names
- Components are case-sensitive—use
<Card>not<card> - Verify you're not importing custom components (not supported)
INVALID_PROPS
Message: "Invalid props for component 'ComponentName'"
Cause: A component received props it doesn't accept.
Fix:
- Check the component documentation for valid props
- Remove any unsupported props
- Ensure prop values are the correct type
OpenAPI Errors
OPENAPI_PARSE_ERROR
Message: "Failed to parse OpenAPI specification"
Cause: Your OpenAPI spec file has invalid syntax or structure.
Fix:
- Run
jamdesk openapi-checkto validate locally - Use an OpenAPI validator like Swagger Editor
- Check for valid JSON or YAML syntax
OPENAPI_REFERENCE_ERROR
Message: "Unresolved reference in OpenAPI spec"
Cause: A $ref in your OpenAPI spec points to a non-existent definition.
Fix:
- Verify all
$refpaths are correct - Check that referenced schemas exist in
components/schemas - Ensure external references are accessible
Build Timeout
BUILD_TIMEOUT
Message: "Build exceeded maximum time limit"
Cause: The build took longer than the allowed time (usually 5 minutes).
Fix:
- Optimize large images—compress or resize
- Split very large pages into smaller ones
- Reduce the number of pages if extremely large
- Contact support if the issue persists
Asset Errors
ASSET_NOT_FOUND
Message: "Asset 'path/to/asset' not found"
Cause: An image or file referenced in your docs doesn't exist.
Fix:
- Verify the file exists at the specified path
- Check the path is relative to your docs directory
- Paths are case-sensitive—check the filename exactly
ASSET_TOO_LARGE
Message: "Asset exceeds maximum file size"
Cause: An image or file is larger than the 10MB limit.
Fix:
- Compress images using tools like TinyPNG or ImageOptim
- Use appropriate formats (WebP for photos, SVG for icons)
- Consider hosting very large files externally
Getting Help
If you can't resolve an error:
- Check the full build log in your dashboard for more context
- Search the FAQ for common issues
- Contact support with your project ID and error details
