Troubleshooting
This guide covers common issues you may encounter when using Omni Architect and how to resolve them.Pipeline Issues
PRD parsing failed
PRD parsing failed
Error Message:Cause: Your PRD doesn’t follow expected Markdown structure or is missing key sections.Solutions:
-
Verify Markdown structure
- Use H1 (
#) for project name - Use H2 (
##) for features - Use H3 (
###) for subsections (User Stories, Flows, etc.)
- Use H1 (
-
Check for required sections
- At least one feature section
- User stories or flows
- Some form of requirements or acceptance criteria
-
Validate Markdown syntax
-
Review parsing heuristics
- Use “Como…quero…para” or “As a…I want…so that” for user stories
- Use tables for entity definitions
- Use numbered lists for flows
Mermaid syntax error
Mermaid syntax error
Error Message:Cause: Special characters in your PRD text broke Mermaid syntax generation.Solutions:
-
Escape special characters in PRD
- Avoid brackets
[]in feature names (Mermaid uses them for node shapes) - Avoid quotes
"in flow descriptions (use single quotes'instead) - Avoid pipes
|in entity names (reserved for Mermaid tables)
- Avoid brackets
-
Check PRD for problematic patterns
- Use auto-retry Omni Architect automatically retries with syntax corrections (max 3 attempts). If it fails after 3 retries, manual PRD cleanup is needed.
-
Validate diagrams manually
Figma API 403 Forbidden
Figma API 403 Forbidden
Error Message:Cause: Your Figma access token doesn’t have permission to edit the file.Solutions:
-
Verify token is valid
Expected:
{"id": "...", "email": "...", ...} -
Check file access
- Open the file in Figma
- Verify you can edit objects (not view-only)
- If it’s a team file, ensure you’re an Editor or Admin
-
Regenerate token
- Go to Figma Settings → Personal Access Tokens
- Delete old token
- Generate new token
- Update environment variable
-
Verify file key
Low coverage score (< 0.6)
Low coverage score (< 0.6)
Error Message:Cause: Your PRD is incomplete or lacks structured information.Solutions:
-
Add missing features
Ensure each feature has:
- Clear name and description
- Priority (High/Medium/Low)
- User stories or flows
- Acceptance criteria
-
Define entities
-
Document flows
-
Review completeness report
The parser will list specific missing elements:
Diagrams not matching PRD expectations
Diagrams not matching PRD expectations
Problem: Generated diagrams don’t reflect your PRD as expected.Cause: Parser misinterpreted ambiguous or unstructured PRD text.Solutions:
-
Use interactive validation mode
Review each diagram and provide specific feedback for regeneration.
-
Be explicit in PRD
❌ Vague:
✅ Explicit:
-
Use standard patterns
- User stories: “As a [persona], I want [capability], so that [benefit]”
- Flows: Numbered steps with decision points
- Entities: Tables with attributes
-
Check entity consistency
Use the same entity names throughout:
Rate limit exceeded (429)
Rate limit exceeded (429)
Error Message:Cause: Too many API requests to Figma in a short time.Solutions:
-
Wait and retry
Omni Architect uses exponential backoff automatically:
- 1st retry: 1 second
- 2nd retry: 2 seconds
- 3rd retry: 4 seconds
- 4th retry: 8 seconds
- Max: 5 retries
-
For very large PRDs
Split into smaller modules:
-
Use Figma service account (teams)
Service accounts have higher rate limits:
- Personal token: 60 requests/minute
- Service account: 300 requests/minute
- Schedule runs during off-peak If running in CI/CD, schedule during low-traffic hours.
Timeout on large PRD
Timeout on large PRD
Error Message:Cause: PRD is too large to process in one pipeline run.Solutions:
-
Divide PRD by module
-
Process incrementally
-
Reduce diagram types
Generate fewer diagram types per run:
-
Use auto validation
Interactive mode adds human review time. Use auto mode for large PRDs:
Configuration Issues
Token not found in environment
Token not found in environment
Error Message:Cause: Figma token not configured in shell environment.Solutions:
-
Set in current shell
-
Persist in shell config
-
Use .env file (local dev)
-
Pass directly (not recommended for production)
Config file not being read
Config file not being read
Problem:
.omni-architect.yml exists but settings aren’t applied.Cause: File in wrong location or YAML syntax error.Solutions:-
Verify file location
Config file must be in project root (where you run the command):
-
Validate YAML syntax
-
Check indentation
YAML is whitespace-sensitive:
-
Verify config is loaded
Omni Architect prints loaded config on startup:
Custom design tokens not applying
Custom design tokens not applying
Problem: Custom colors/fonts defined but not visible in Figma output.Cause: Design system not set to
"custom" or tokens have errors.Solutions:-
Set design_system to custom
-
Validate color formats
-
Check font availability
Solution: Install font in Figma or use available font.
-
Review token validation report
Omni Architect prints token validation on startup:
Diagram Quality Issues
Inconsistent entity names across diagrams
Inconsistent entity names across diagrams
Problem: Entity named “User” in ER Diagram but “Customer” in Sequence Diagram.Cause: Inconsistent naming in PRD.Solutions:
-
Use consistent names in PRD
Search and replace:
-
Review validation report
-
Use interactive validation
When prompted, select
[m]odifyand provide feedback:
Missing error paths (sad paths)
Missing error paths (sad paths)
Problem: Validation report shows low completeness score due to missing error scenarios.Cause: PRD only documents happy path.Solutions:
-
Document all paths explicitly
-
Use decision point syntax
-
Include exception handling
Low traceability score
Low traceability score
Problem: Validation report shows user stories aren’t mapped to diagrams.Cause: No explicit linkage between stories and flows.Solutions:
-
Reference stories in flows
-
Use story IDs consistently
-
Cross-reference in acceptance criteria
CI/CD Integration Issues
Token not available in CI/CD
Token not available in CI/CD
Problem: Pipeline works locally but fails in CI/CD with token error.Cause: Token not configured in CI/CD secrets.Solutions:
-
GitHub Actions
Add to repository secrets:
- Settings → Secrets and variables → Actions → New repository secret
- Name:
FIGMA_TOKEN - Value:
figd_your_token_hereUse in workflow:
-
GitLab CI
Add to project variables:
- Settings → CI/CD → Variables → Add variable
- Key:
FIGMA_TOKEN - Value:
figd_your_token_here - Protected: Yes
- Masked: Yes
Use in
.gitlab-ci.yml:
- Other CI systems Consult your CI provider’s documentation for secrets management.
Pipeline succeeds but no Figma assets visible
Pipeline succeeds but no Figma assets visible
Problem: CI/CD reports success, but nothing appears in Figma.Cause: Wrong file key or Figma file was deleted.Solutions:
- Verify file still exists Open the Figma file URL manually
-
Check file key in logs
-
Look for new page in Figma
The assets are in a new page, not the existing pages:
- Open Figma file
- Check pages sidebar (left)
- Look for ” - Omni Architect”
-
Review orchestration log
Check
figma_assetsarray for node IDs and URLs.
Getting Help
If you’re still stuck after trying these solutions:1. Check the Orchestration Log
Omni Architect writes a detailed log to.omni-architect/orchestration-log.json:
errors: Specific error messageswarnings: Non-blocking issuesphase_durations: Which phase took longest or failedvalidation_report: Detailed score breakdown
2. Enable Debug Mode
- PRD parsing decisions
- Mermaid generation attempts
- Validation score calculations
- Figma API requests and responses
3. Export Validation Report
4. File an Issue
If you’ve found a bug or need assistance:- GitHub Issues: github.com/fabioeloi/omni-architect/issues
- Include:
- Omni Architect version (
skills --version) - Command used (redact tokens!)
- Error message or unexpected behavior
- Orchestration log (if applicable)
- PRD sample (if possible)
- Omni Architect version (
Next Steps
Writing PRDs
Learn PRD best practices to avoid issues
Validation Workflow
Master validation modes for better results