> ## Documentation Index
> Fetch the complete documentation index at: https://docs.deeppcb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting Common DeepPCB Upload and Routing Issues

> Solutions to common DeepPCB issues: upload errors, low routing completion, constraint problems, KiCad plugin issues, and API errors.

This page covers the most common issues customers encounter with DeepPCB and how to resolve them. Work through the relevant section below, and if you're still stuck, contact [support@deeppcb.ai](mailto:support@deeppcb.ai).

## Board Upload Issues

> [accordion] Upload fails or times out
>
> If your board file fails to upload or the upload stalls, try the following steps:
>
> **1. Check your file format**
>
> DeepPCB reads native Altium, KiCad, Zuken, EasyEDA and `.deeppcb` files as well as Specctra DSN — but each format expects a particular file, and the wrong one from the right tool is rejected the same way any other format is. Check yours against [Supported Formats](https://docs.deeppcb.com/guides/prepare-board-file.md#supported-formats) before re-uploading.
>
> **2. Check your file size**
>
> Very large files may time out on slower connections. Ensure your file size is reasonable for your board's complexity. If your file is unusually large, check that you haven't accidentally included unnecessary data during export.
>
> **3. Try a different browser**
>
> Some browser extensions or security settings can interfere with file uploads. Try uploading in an incognito/private window or switch to a different browser (Chrome and Firefox are recommended).
>
> **4. Check your internet connection**
>
> A dropped or unstable connection will cause uploads to fail. Switch to a wired connection or a more stable network if possible, then retry.

> [accordion] 'Invalid file format' error
>
> This error means DeepPCB received a file it cannot parse.
>
> * Ensure you exported a board file, **not a Gerber, ODB++, or any other fabrication output**.
>
> * Check that you exported the file your tool's native path expects — Altium wants the `.pcbdoc` saved as binary PCB 6.0, KiCad wants the `.kicad_pcb` with its `.kicad_pro`, EasyEDA Standard wants the PCB `.json`. [Exporting from Each Tool](https://docs.deeppcb.com/guides/prepare-board-file.md#exporting-from-each-tool) has the steps per tool.
>
> * Re-export from your EDA tool and upload the newly generated file.
>
> > [!WARNING]
> >
> > Renaming a Gerber or other file to have a `.dsn` extension will not work. DeepPCB validates file contents, not just the file extension.

> [accordion] Constraints not recognised
>
> If DeepPCB reports that it cannot find your design rules or constraints:
>
> * **Save your board** in your EDA tool before exporting. Unsaved rule changes are not written to the exported DSN file.
>
> * In **KiCad**, open the Board Setup dialog, confirm your design rules are correct, click **OK** to save them, and then re-export the DSN file.
>
> * In **Altium**, ensure your rules are active and not disabled in the PCB Rules and Constraints editor before exporting.
>
> * Verify that the exported DSN file contains a `rules` section by opening it in a text editor and searching for `rules`.
>
> > [!TIP]
> >
> > Run **Cooper** after uploading — it will flag missing or conflicting constraint definitions before you spend compute time on a routing job.

## Routing Quality Issues

> [accordion] Routing completion is lower than expected (\< 90%)
>
> If the router is leaving a significant number of airwires unrouted, try the following:
>
> * **Run Cooper first.** Cooper analyses your design for constraint conflicts, overlapping keep-outs, and component footprint issues that prevent the router from completing connections. Fix any flagged issues before running the routing engine.
> * **Increase your compute budget.** Routing completion and quality improve with longer run times. Try allocating more time to the job.
> * **Verify your component footprints.** Incorrect or mismatched footprints can make certain connections physically impossible to route. Cross-check footprints against your netlist in your EDA tool.
> * **Run placement first.** If you haven't already optimised component placement, poor placement is often the root cause of low completion rates. Use DeepPCB's placement feature or manually improve placement in your EDA tool before re-routing.

> [accordion] Too many vias
>
> A high via count is normal in early iterations. Via count decreases as the AI continues to optimise:
>
> * **Allow more compute time.** Via reduction is an optimisation that happens progressively throughout a job. The longer the run, the fewer vias the AI tends to use.
> * **Review your via rules.** If your constraint file has overly restrictive via rules (for example, prohibiting certain via types that the router needs to layer-transition), the AI may be forced to use more vias of a permitted type. Check your design rules and relax any unnecessary restrictions.

> [accordion] Differential pairs not routed correctly
>
> If your differential pairs are being routed as individual signals rather than matched pairs:
>
> * **Verify diff pair definitions in your EDA tool.** Diff pairs must be defined in your schematic or PCB editor before exporting — DeepPCB reads this information from the DSN file. In KiCad, check that your net names follow the diff pair naming convention (e.g., `DP+` / `DP-`).
> * **Inspect the DSN file.** Open the exported DSN file in a text editor and confirm that it contains `diff-pair` definitions. If it doesn't, re-export after correctly configuring diff pairs in your EDA tool.
> * **Check length-matching constraints.** If length-matching tolerances are extremely tight, the router may fail to match pairs within tolerance. Try relaxing the tolerance slightly and re-running.

> [accordion] Some nets are not routed
>
> If specific nets remain unrouted after a job completes:
>
> * **Check for conflicting constraints.** A net with contradictory rules (for example, a trace width that is simultaneously required to be wider than the maximum allowed) cannot be routed. Run Cooper to identify these conflicts.
> * **Try running longer.** Some difficult nets require more compute time for the AI to find a valid path. Increase your time budget and resume the job.
> * **Manually route critical nets.** For high-priority nets where you need full control, pre-route them in your EDA tool and lock them before exporting — from KiCad and Specctra DSN, locked copper arrives protected. Otherwise protect them in the board editor. DeepPCB then routes all remaining nets around them. See [Keeping Existing Wiring](https://docs.deeppcb.com/guides/routing.md#keeping-existing-wiring).

## KiCad Plugin Issues

> [accordion] Plugin doesn't appear in KiCad after installation
>
> If the DeepPCB plugin is not visible in the KiCad PCB Editor:
>
> **1. Apply pending changes**
>
> In the KiCad Plugin and Content Manager, click **Apply Pending Changes** if it is available. Plugins are not activated until pending changes are applied.
>
> **2. Restart KiCad**
>
> Close and reopen KiCad completely. Some plugin registrations only take effect on restart.
>
> **3. Verify the plugin directory**
>
> If you installed manually, confirm the plugin files are in the scripting directory for your KiCad version — see [Manual Installation](https://docs.deeppcb.com/integrations/kicad-plugin.md#installation).

> [accordion] 'Could not find the PCB Editor'
>
> The plugin works on the board open in KiCad's PCB Editor. Open your `.kicad_pcb` in the PCB Editor, then launch DeepPCB again.

> [accordion] 'Auth failed' — please verify your API key
>
> The plugin checks your API key when you click **Create Board**.
>
> * Log in to [app.deeppcb.com/integration](https://app.deeppcb.com/integration) and generate a new key if you no longer have the old one.
>
> * In the plugin, click the key icon (**Configure API Key**), paste the full key without extra spaces, and click **Save**.
>
> > [!WARNING]
> >
> > API keys are case-sensitive. Ensure you copy the full key without truncating it.

> [accordion] Board creation fails with 'file\_not\_found'
>
> The plugin uploads your project file along with the board. Make sure a `.kicad_pro` with the same name as your `.kicad_pcb` sits in the same folder — for example `my-board.kicad_pcb` and `my-board.kicad_pro`.

> [accordion] 'Could not reach DeepPCB' or a TLS certificate error
>
> * **Check your internet connection** and try again.
> * **Behind a corporate proxy?** If the error says the TLS certificate could not be verified, your proxy is re-signing traffic. Set the `REQUESTS_CA_BUNDLE` environment variable to your proxy's CA bundle and restart KiCad.

> [accordion] The run doesn't start or no solutions arrive
>
> * **Check your balance.** If it is too low for the time you allocated, the plugin shows **Not enough credits** — click **Buy Credits** to top up, or allocate less time.
> * **Give it a few minutes.** A run may briefly wait for compute resources before it starts. Click **Refresh** in the **DeepPCB Status** panel to update it.
> * **Check the web app.** **Open in DeepPCB** shows the same board, with its full status and revisions.

> [accordion] A solution isn't on my board
>
> Solutions load onto the board automatically while a run is active. A solution that arrived while the plugin was closed is not loaded automatically.
>
> Open **Advanced Settings** in the **DeepPCB Status** panel, pick the solution from the **Solutions** list, and click **Render Solution**. Every solution is also saved as a `.kicad_pcb` in the `DeepPCB_Solutions` folder next to your project.

## API Issues

> [accordion] 401 Unauthorized
>
> Your API key is missing, malformed, or incorrect.
>
> * Ensure you are passing your API key in the `x-deeppcb-api-key` header of every request:
>
> ```http theme={null}
> x-deeppcb-api-key: YOUR_API_KEY
> ```
>
> * Retrieve your key from [app.deeppcb.com/integration](https://app.deeppcb.com/integration) and confirm it matches exactly what you have in your code.
> * Do not include extra whitespace or newline characters around the key value.

> [accordion] 400 Bad Request — Insufficient balance
>
> Confirming or resuming a board returns `Board.Errors.InsufficientBalance` when your balance has too little compute time left to cover the run.
>
> * Log in to [app.deeppcb.com](https://app.deeppcb.com) and open **Balance** to check your remaining time.
> * Top up your balance, or confirm with a shorter `timeout`, then retry.

> [accordion] Run doesn't start
>
> A confirmed run may briefly wait for compute resources before it starts.
>
> * The wait is bounded by the `timeToLive` you send on confirm — 300 seconds by default. If the run has not started by then, it fails and the time is refunded.
> * If runs repeatedly fail to start, contact [support@deeppcb.ai](mailto:support@deeppcb.ai) with your **board ID** so the team can investigate.

## Getting Help

If the steps above don't resolve your issue, here's how to reach us:

* **Email:** [support@deeppcb.ai](mailto:support@deeppcb.ai) — for all support requests, bug reports, and general questions.
* **Enterprise customers:** Use your dedicated Slack channel for direct access to the DeepPCB engineering team.
* **Community & updates:** Visit the [DeepPCB blog at deeppcb.com/blog](https://deeppcb.com/blog/) for the latest feature announcements, tutorials, and tips.

> [!NOTE]
>
> When reporting a bug, include your **board ID**, the **board file** (if shareable), and a clear description of the **expected vs. actual behaviour**. This helps the support team reproduce and fix the issue as quickly as possible.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.