Invalid JSON Error During Import
Invalid JSON Error During Import
- Incorrect JSON Syntax: The JSON data might have syntax errors.
- Database Client Formatting: Your database client might be outputting JSON in an unrecognized format.
- Truncated JSON: For large schemas, your database client might cut off the JSON output.
- Copy-Paste Issues: Errors can be introduced when pasting the JSON into ChartDB.
Verify JSON Syntax
Adjust Database Client Output Settings (SSMS/Azure Data Studio)
- Go to Tools → Options.
- Navigate to Query Results → SQL Server → Results to Text.
- Increase Maximum number of characters displayed in each column.
Re-export and Re-import
Try a Different Browser
Missing Tables After Database Import
Missing Tables After Database Import
- Default Schema Display: By default, ChartDB only shows tables from the
public
schema. Tables in other schemas are hidden initially.
Select Schemas to Display
Missing Relationships After Database Import (PostgreSQL, SQL Server)
Missing Relationships After Database Import (PostgreSQL, SQL Server)
- Incomplete Foreign Key Definitions: ChartDB relies on foreign key constraints. If these are missing or incorrect, relationships might not import.
- Query Limitations (Rare): The import query might not fully capture relationship data in complex schemas.
Verify Foreign Key Constraints in your Database
Use Updated Import Query
Manually Add Relationships in ChartDB
Check for Naming Conventions
Diagram Export to PNG/JPG/SVG Fails or Hangs
Diagram Export to PNG/JPG/SVG Fails or Hangs
- Diagram Complexity: Very large or complex diagrams can strain browser resources.
- Browser Limitations: Browser resource limits might prevent successful export.
- Browser Compatibility: Browser-specific issues might interfere with export.
Check Browser Console for Errors
Try a Different Browser
ChartDB Slow or Crashing with Large Databases
ChartDB Slow or Crashing with Large Databases
- Browser Resource Limits: Browsers have resource limitations when rendering large diagrams.
- ChartDB Optimization: Current ChartDB version is optimized for moderately sized databases.
Import Only Necessary Schemas/Subsets
Simplify Diagrams
Monitor Browser Performance
Diagrams Disappear or are Lost After Browser Session
Diagrams Disappear or are Lost After Browser Session
- Browser Data Clearing: Clearing browser data (cache, cookies, site data) can delete locally stored diagrams.
- Incognito/Private Browsing: Private browsing modes usually clear local storage when the session ends.
- Browser Settings or Extensions: Some settings or extensions might clear IndexedDB or site data.
Understand Local Browser Storage
Avoid Clearing Browser Data Unintentionally
Do Not Use Incognito/Private Browsing for Important Diagrams
Regularly Export Your Diagrams as Backups