---
title: C4 Diagrams Troubleshooting - Scope, Mode, and FAQ Reference
description: Troubleshooting reference for Nodinite C4 Diagrams, including Architecture Scope behavior, Repository rights, Layered Mode and Free Draw expectations, missing navigation pills, and import or rendering issues.
---

# :fa-circle-question: C4 Diagrams Troubleshooting

>[!IMPORTANT]
>**[C4 Diagrams][Architecture Diagrams] is part of experimental builds.** To access this capability, contact your sales representative.

This page covers common questions and issues encountered when working with **C4 Diagrams** ([Architecture Diagrams][]) in :Nodinite:. For detailed reference material, see the linked sub-pages.

## Reference Pages

* [C4 Model vs Nodinite Concept Mapping][C4 Model vs Nodinite Concept Mapping] — Side-by-side table of C4 model terminology and how it maps to :Nodinite: Repository entities and properties  
* [Repository Properties for C4 Diagramming][Repository Properties for C4 Diagramming] — Complete reference for all C4-related properties on [Systems][], [Services][], [Contracts][], [Domains][], and [Endpoints][], what they do, and how to set them. :new7.12: [Integrations][] only have their [Component Type][Component Types]: they are not C4 elements  

![The import wizard on a Diagram Set: an L2 Container markup with Container(...) named Partner-Portal matched to the Service of that name, Matched opened with no Use existing System tab, Cancel, then the markup drawing Partner-Portal as System_Ext(...) matched to the System, Import, and the node's View opening the System Partner-Portal with its C4 Diagrams card, animated walkthrough (7.12)][1]  
*Animated walkthrough: a `Container(...)` row matches a Service or a Contract, never a System; its **Resolve** dialog has no **Use existing System**. Drawn as `System_Ext(...)`, the same name binds to the System.*  

## Frequently Asked Questions

### 403 Forbidden: C4 needs more Repository rights

:new7.12: A C4 diagram shows Repository items, so opening one needs more than the [C4 Diagram Set rights][Permission Set for C4 Diagram Sets]. When a right is missing, opening, viewing, or exporting a diagram (and the [grouped Log View's runtime diagram][Log Runtime Inspection]) answers *403 Forbidden* with *C4 needs more Repository rights* and the list of the missing rights. The [Diagram Sets][Diagram Set Fundamentals] list and the sidebar still load.

![The 403 Forbidden page of a C4 diagram: C4 needs more Repository rights, You need read access to Services, Integrations, Contracts, Message Types, Endpoints and Domains, one line per missing right, and the request that was refused (7.12)][3]  
*A user with read access to Systems only opens a diagram: the page lists each missing right.*  

| To | You also need |
|---|---|
| Open, view, or export a diagram | Read ([Access][Permission Set for the Repository Model - Access]) on [Systems][], [Services][], [Integrations][], [Message Types][], [Endpoints][], and [Domains][], plus [Contracts][] when [Contracts are on][UseContracts] |
| Design: save in the Designer, delete diagrams, **Next layer**, [Generate from Integration Landscape][], [C4 Dynamic][C4 Dynamic from a BPM] on the [BPM][] page, clone, promote | [Create][Permission Set for the Repository Model - Create] and [Modify][Permission Set for the Repository Model - Modify] on [Systems][], [Services][], [Integrations][], and [Domains][], plus [Contracts][] when [Contracts are on][UseContracts] |
| [Import][] | [Create][Permission Set for the Repository Model - Create] on [Systems][], [Services][], and [Domains][]. The **Import** button is refused before the wizard opens, with the same message listing the missing read and create rights |

**Fix:** Give the user's [Roles][] the rights the message lists. See [Permission Set for C4 Diagram Sets][].

### The import wizard didn't automatically match my System — why?

The [Import][] wizard matches each node by its **exact name**, ignoring case (there is no similarity match). :new7.12: Which Repository items it tries depends on the node's shape and the diagram type:

| Shape in the markup | Matched against |
|---|---|
| `Container(...)`, `ContainerDb(...)`, `ContainerQueue(...)` and their `_Ext` variants | A [Service][Services] by name, a `contract_{id}` alias, or a [Contract][Contracts] by name; **never a System**. On an L0 or L1 a Container shape is stored as a System and matches a System |
| `System(...)`, `System_Ext(...)`, `SystemDb(...)` and the other System shapes | A [System][Systems] only |
| `Person(...)`, `Person_Ext(...)` | Systems |
| `Component(...)` and its variants, including `_Ext` | On an L3: the one [Endpoint][Endpoints] of exactly that name (needs read on Endpoints), otherwise unbound. On a Dynamic: always unbound. Never an Integration |

A `ContainerDb(...)` prefers a same-name Service whose C4 Container Type is **Database**, and a `ContainerQueue(...)` one with **Message Bus** or **Event Stream**. A System's C4 Type doesn't exclude it: the Review & Resolve row shows the System's C4 Type, with ⚠ when it doesn't fit the markup.

If a match is not found automatically, it is likely because:

* The display name in the Mermaid markup differs from the entity name in the Repository (e.g., "ERP" in the diagram vs "SAP S/4HANA" in the Repository)
* The entity does not yet exist in the Repository

**Fix:** In the Review & Resolve table, click the row's button to open the **Resolve** dialog and search for the correct entity. The **Create new** tab is offered only where the row may create something: a Domain, a Service, or a System, never an Integration, Endpoint, or Contract.

### A Container node matched as a Service but it should be a System

:new7.12: A Container is a Service or a Contract, never a System. If the markup draws a System, such as the Portal, as `Container(portal, "Portal", ...)`, a row whose name matches only a System imports as an unbound placeholder with the note *'Portal' is a System in the Repository. A Container is a Service or a Contract, never a System: draw it as a System shape (System or System_Ext) to bind it to the System.*

**Fix:** Draw it as a System shape: `System(...)` or, beside an L2's boundary, `System_Ext(...)`, and import again. A System shape matches the System.

### I enabled `UseContracts`, but import still shows System/Service-only matching

The import matches Contracts too. A node whose alias is `contract_{id}`, or whose name is a [Contract][Contracts]'s name, is matched against that Contract. With **UseContracts** on, the **Resolve** dialog of a Container row also has a **Use existing Contract** tab.

After import, you can also use the designer resolver ([Repository Bindings][]) to replace a [Service][Services] binding with a Contract.

### Why does Systems mode now place some traffic under a different System when `UseContracts=true`?

When [grouped runtime inspection][Log Runtime Inspection] resolves a single [Contract][Contracts], Systems mode uses that contract owner for boundary placement. This reduces incorrect placement in **Unknown System** for deterministic contract-owned traffic.

### My node doesn't show a navigation pill when I expected one

:new7.12: Pills are inferred when the diagram opens (inferred navigation), from the diagram type, its scope and subject, and the node's binding, inside the same [Diagram Set][What is a C4 Diagram Set] (see [Navigation Between C4 Diagrams][]). Nothing is stored, so there is nothing to sync. If a pill is missing:

* Check that both diagrams belong to the **same set**: inferred pills stay inside the set. Only manual links may point into another set
* Check that the node is bound to a Repository entity: unbound placeholders and Domain-bound elements get no diagram pill
* Check the target's state: viewers see **Active** targets only; editors with **Modify** on the set also see Drafts, marked *Draft*
* Navigation goes one level at a time: a System's **Inside** pill opens its L2, and a Service's or Contract's **Inside** pill opens the L3 whose subject it is, never straight from a System to an L3

An editor whose node has no match sees *No Container diagram in this set yet.* (or *No Component diagram in this set yet.*) with **Create Container Diagram** or **Create Component Diagram**.

**Fix:** Bind the node to the same Repository entity as the target diagram's scope or subject, or create the missing diagram.

### I changed Architecture Scope and my navigation pills changed

This is expected. The pills are inferred again every time a diagram opens, from its type, scope, subject, and bindings, so nothing stored is removed. Manual links are stored and stay; one may turn **Stale** (*Scope or entity relationship has changed since link was created*). Links stored before 7.12 show as **Manual**. The [Architecture Diagrams overview][Architecture Diagrams] explains scope and modes.

### Free Draw did not update other diagrams after I edited nodes and boundaries

This is expected behavior.

Free Draw keeps edits local to the current diagram. It does not propagate changes to related Draft diagrams, regardless of scope.

If you want node and boundary changes to propagate to the related Layered Drafts, use Layered Mode.

### How do I have two L2 Container diagrams in the same Diagram Set?

This is fully supported and is one of the key advantages of Diagram Sets. Each L2 Container diagram has its own scope: the System it zooms into.

1. In the [Diagram Set][Diagram Set Fundamentals], click :fa-upload: **Import**, paste the L2 markup, and choose **Container** as the diagram type
2. In the **Scope** step (*Set Diagram Architectural Scope*), pick the System this L2 diagram is for (e.g., "ERP"). The wizard takes it itself when the markup's `System_Boundary` is named after the System
3. Finish the import
4. Repeat for the second L2 with a different System (e.g., "Portal")

Both L2 diagrams coexist in the set; only one Active L2 per System is allowed. The L1 or L0 nodes for ERP and Portal (if bound to those Systems) each show an **Inside** pill to their L2.

### The Mermaid output shows `Container(...)` for all nodes — no `ContainerDb` or `ContainerQueue`

The Mermaid type (`Container`, `ContainerDb`, `ContainerQueue`) is the node's own shape, and on import it comes from the macro in the markup: write `ContainerDb(...)` or `ContainerQueue(...)` in the source. [Generate from Integration Landscape][] draws every Service as a plain `Container`.

The Service's **C4 Container Type** seeds the shape of a node the Designer's resolver creates from the Repository:

* **Database**, **File Store**, **Cache** → `ContainerDb(...)`
* **Message Bus**, **Event Stream**, **Queue** → `ContainerQueue(...)`
* All others → `Container(...)`

![The Service Portal-Order-Archive: C4 Container Type set to Database and C4 Technology to SQL Server 2022 and saved, then an L2 Container markup with a ContainerDb of the same name inside the System_Boundary Portal imported, the row matched to the Service, and the Mermaid view drawing a database container with SQL Server 2022, animated walkthrough (7.12)][2]  
*Animated walkthrough: the imported `ContainerDb(...)` matches the same-name Service of type **Database**, and the Mermaid view draws a database container with its technology.*  

**Fix:** Edit the markup to use `ContainerDb(...)` or `ContainerQueue(...)` and import it again, or replace the node in the Designer. Re-importing the same markup after updating the Service doesn't change the macro. See [Repository Properties for C4 Diagramming][Repository Properties for C4 Diagramming].

### The C4 Diagrams menu item is not visible in the Repository navigation

In the Repository menu the group is called **Architecture Diagrams** (with **Diagram Sets**, **All Diagrams** and [Component Types][]). It needs the [Mapify][] feature in the license and the read right on C4 Diagram Sets. If the group is absent, check the license and product key with your :Nodinite: administrator, and the user's [Roles][] for the C4 Diagram Sets permission.

See [License Options and Feature Matrix][] for guidance.

### The Mermaid View renders but all connectors are missing

Connectors are imported automatically from `Rel(...)` or `BiRel(...)` entries in the Mermaid source. If no connectors appear:

* The source Mermaid markup contained no `Rel(...)` or `BiRel(...)` entries
* Connectors that reference a boundary alias (rather than a concrete node alias) are skipped during import — the toast **Import note: N relationship(s) could not be linked and were skipped** gives the count

**Fix:** Re-import the Mermaid source with correct `Rel(...)` entries referencing node aliases (not boundary aliases). A node keeps the alias from the markup (for example `portal` or `carrier_hub`); only a node without one is written as `node_{id}`.

### My connector's Message Type wasn't imported

:new7.12: A Flow's [Message Type][Message Types] travels in the technology text as `<protocol> / <Message Type>`, for example `"XML / O2C.Forwarding/1.0"`. The import resolves the text after ` / ` by **exact** name, and needs read on Message Types. Without a match, the whole text stays the protocol and the Flow has no Message Type. The Relationships table of Review & Resolve shows the result in its **Message Type** column.

**Fix:** Write the Message Type's exact name after ` / `, or bind the Flow in the Designer with **Link a Message Type…**.

### A Person actor appears grey instead of blue

On the canvas a Person and a Person (External) have the same dark-blue colour; the external one adds the external-link mark (↗). Grey is how the [Mermaid View][] and the exports draw `Person_Ext(...)` (Mermaid's C4 styling), so a grey actor there is an external person.

**Fix:** If the actor should be an internal person, re-import with `Person(...)` in the markup, or replace the node in the Designer. Changing the System's C4 Type doesn't change an existing node. :new7.12: On import, **Create new** on a `Person_Ext(...)` row creates a System with the C4 Type **Person (Ext)**, on a `Person(...)` row one with **Person**.

### How do I create a bidirectional relationship arrow?

Include `BiRel(from, to, "Label", "Tech")` in your Mermaid source when importing. :new7.12: The Mermaid and PlantUML exports fold the Flows of a node pair into one `Rel` (one way) or `BiRel` (both ways): labels and technology items are joined by `;` and a space, and on a `BiRel` each technology item is marked `→`, `←`, or `↔` (`-` for none). The import splits them back into Flows. A relation from another tool (one item, no marker) is one Flow.

### What happens to boundary types when I import a diagram?

The boundary type (`Container_Boundary`, `System_Boundary`, `Enterprise_Boundary`, `Boundary`, `Deployment_Node`) is auto-detected from the Mermaid macro in your source and stored per boundary element. No manual configuration is required. :new7.12: What a boundary binds to follows its kind: a generic `Boundary` or `Enterprise_Boundary` to a Domain or nothing; a `System_Boundary` to a System; a `Container_Boundary` to a Service or Contract; a `Deployment_Node` to nothing. If the wrong type appears in the Mermaid output, re-import the diagram with the correct Mermaid macro in the source.

### Can I nest one boundary inside another?

Yes. When your Mermaid source has a `Boundary { }` block nested inside another `Boundary { }` block, the import wizard stores the parent–child relationship. The Mermaid generator re-emits the correct nested boundary structure. Nesting is per-diagram and does not affect [Domains][] in [BPM][] or other diagrams.

:new7.12: A generic `Boundary`, an `Enterprise_Boundary`, or a kindless draw.io group nested inside an L3's subject `Container_Boundary` is an unbound grouping: it matches no Domain and none is created, not even by **Resolve All**. On an L2, a grouping inside the subject `System_Boundary` still matches a Domain by name.

### Can I place a System (Person or External System) inside a boundary instead of at the top level?

Yes. When your Mermaid source has a `System(...)` or `Person(...)` element declared inside a `Boundary { }` block, the import wizard stores it as a member of that boundary. The Mermaid generator re-emits it inside the boundary block.

### Does changing `C4ContainerType` on a Service affect my BPM diagrams?

No. `C4ContainerType` and `C4Technology` are used only by C4 Diagrams. BPM, [Log Views][], [Monitor Views][], and the [Integration Landscape][] are not affected by these properties.

### Can I have the same architectural subject in multiple layout variants (As-Is vs To-Be)?

Yes. Create two separate diagrams within the same **Diagram Set**, one named "As-Is" and one named "To-Be" (or "Current" and "Target"). Only one diagram per set, type, scope, subject, and mode can be **Active** (several Dynamics may be), so promote the canonical view and keep the working version as **Draft** until it is ready.

### Why do `_Ext` rows show as "Unbound" in the import wizard?

:new7.12: The `_Ext` variants are matched like their internal shape: `Container_Ext`, `ContainerDb_Ext`, and `ContainerQueue_Ext` against a Service or Contract, and `Component_Ext` and its variants against an Endpoint on an L3. Only `Container_Instance_Ext` is never searched. A row without a match shows the **Unbound** badge in the Status column.

Unbound rows are **not counted as conflicts** and do not block the Apply button. After the diagram is created, you can bind an unbound placeholder to what the C4 rules allow for its shape, never an Integration, using the [C4 Designer][Designer Overview].

### The PNG export is blank or very small

Open the [Mermaid View][] (`/mermaid` URL) for the diagram and verify the Mermaid markup is valid. Paste it into the [Mermaid Live Editor](https://mermaid.live/)<sup>:fa-arrow-up-right-from-square:</sup> to confirm it renders correctly.

## :fa-hand-point-right: Next Steps

* :fa-book: [Repository Properties for C4 Diagramming][Repository Properties for C4 Diagramming]  
* :fa-right-left: [C4 Model vs Nodinite Concept Mapping][C4 Model vs Nodinite Concept Mapping]  
* :fa-graduation-cap: [Creating Your First C4 Diagram][Creating Your First C4 Diagram]  

## :fa-link-horizontal: Related Topics

* :fa-layer-group: [Architecture Diagrams][]  
* :fa-circle-info: [What is C4 Diagrams?][What is C4 Diagrams]  
* :fa-file-import: [Import][]  
* :fa-compass: [Navigation Between C4 Diagrams][]  
* :fa-user-shield: [Permission Set for C4 Diagram Sets][]  
* :fa-pen-ruler: [C4 Designer Overview][Designer Overview]  
* :fa-share-nodes: [Export and Sharing][]  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/Troubleshooting/C4Troubleshoot_ResolveAsSystem.gif
[2]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/Troubleshooting/C4Props_ServiceContainerType.gif
[3]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/Diagram/403_MissingRights.png

[Architecture Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Overview.md
[BPM]:{ndr}/Repository%20Model/BPMs/Overview.md
[C4 Dynamic from a BPM]:{ndr}/Repository%20Model/BPMs/Overview.md#fa-shuffle-c4-dynamic-from-a-bpm
[C4 Model vs Nodinite Concept Mapping]:{ndr}/Repository%20Model/C4%20Diagrams/Troubleshooting/C4%20Model%20vs%20Nodinite%20Concept%20Mapping.md
[Component Types]:{ndr}/Repository%20Model/Component%20Types/Overview.md
[Contracts]:{ndr}/Getting%20Started/4.%20Repository/Contracts/Overview.md
[Creating Your First C4 Diagram]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Creating%20Your%20First%20C4%20Diagram.md
[Designer Overview]:{ndr}/Repository%20Model/C4%20Diagrams/Designer/Overview.md
[Diagram Set Fundamentals]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Diagram%20Set%20Fundamentals.md
[Domains]:{ndr}/Repository%20Model/Domains/Overview.md
[Endpoints]:{ndr}/Repository%20Model/Endpoints/Overview.md
[Export and Sharing]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Export%20and%20Sharing.md
[Generate from Integration Landscape]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Generate%20from%20Integration%20Landscape.md
[Import]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Import.md
[Integration Landscape]:{ndr}/Getting%20Started/4.%20Repository/Integrations/Integration%20Landscape.md
[Integrations]:{ndr}/Repository%20Model/Integrations/Overview.md
[License Options and Feature Matrix]:{ndr}/Repository%20Model/License%20Options%20and%20Feature%20Matrix.md
[Log Runtime Inspection]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Inspect%20Grouped%20Log%20Views%20as%20Runtime%20Diagrams.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Mapify]:{ndr}/Mapify/Overview.md
[Mermaid View]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Mermaid%20View.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Navigation Between C4 Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Sync.md
[Permission Set for C4 Diagram Sets]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/Permission%20Set%20for%20C4%20Diagram%20Sets.md
[Permission Set for the Repository Model - Access]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/Permission%20Set%20for%20the%20Repository%20Model.md#fa-lock-access-read-only
[Permission Set for the Repository Model - Create]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/Permission%20Set%20for%20the%20Repository%20Model.md#fa-file-plus-create
[Permission Set for the Repository Model - Modify]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/Permission%20Set%20for%20the%20Repository%20Model.md#fa-file-edit-modify
[Repository Bindings]:{ndr}/Repository%20Model/C4%20Diagrams/Designer/Repository%20Bindings.md
[Repository Properties for C4 Diagramming]:{ndr}/Repository%20Model/C4%20Diagrams/Troubleshooting/Repository%20Properties%20for%20C4%20Diagramming.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Services]:{ndr}/Repository%20Model/Services/Overview.md
[Systems]:{ndr}/Repository%20Model/Systems/Overview.md
[UseContracts]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/UseContracts.md
[What is a C4 Diagram Set]:{ndr}/Repository%20Model/C4%20Diagrams/Features/What%20is%20a%20C4%20Diagram%20Set.md
[What is C4 Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Features/What%20is%20C4%20Diagrams.md