> For the complete documentation index, see [llms.txt](https://docs.sdv.dev/sdv/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sdv.dev/sdv/support/troubleshooting/sdv-usage.md).

# Help with SDV

## ConstraintsNotMetError

A constraint should describe a rule that is true for every row in your real data. If any rows in the real data violate the rule, the SDV will return a `ConstraintsNotMetError`. Since the constraint is not true in your real data, the model will not be able to learn it.

If you see this error, you have two options:

* (recommended) **Remove the constraint.** This ensures the model learns patterns that exist in the real data. You can always use conditional sampling later to generate synthetic data with specific values.
* **Clean your input dataset.** If you remove the violative rows in the real data, then you will be able to apply the constraint with the cleaned data. This is not recommended because even if the synthetic data follows the rule, the model is not truly representative of the original data.

## Unable to load & use a previously-saved synthesizer

If you've previously trained and saved an SDV synthesizer, you should be able to load it into SDV in the future for sampling synthetic data. If this isn't working, we recommend **checking your Python environment** to see if any of the underlying library versions have changed.

<table><thead><tr><th width="245">Scenario</th><th>Guidance</th></tr></thead><tbody><tr><td>I've upgraded my version of SDV (or other libraries)</td><td>Upgrading your version should not affect your synthesizer. If this isn't working, please <a href="/pages/MAZPfWCGm03sO0Swtz4o#other-issues">reach out</a> providing more details.<br><br><em>Please note that older synthesizers, creating before SDV v1.10.0 may not allow upgrades. In this case, you would need to train and save a new synthesizer on the latest version.</em></td></tr><tr><td>I've downgraded my version of SDV (or other libraries)</td><td>Downgrading versions is not supported. We recommend creating a new Python environment with the same version of SDV and other libraries.</td></tr></tbody></table>

{% hint style="info" %}
**Latest bug fixes and features will not be available for older synthesizers.** If you load in an old synthesizer into the latest version of SDV, that synthesizer may not be able to support all the latest SDV updates. To capture these, we recommend training and saving a new synthesizer on the latest version.
{% endhint %}

## Plotly charts not rendering in VSCode, JupyterLab, etc

In some environments, Plotly charts created by the SDV don't render inline and may instead be saved out to as images to a folder. To force Plotly to render charts inline, we recommend setting the renderer manually when you call `fig.show()`. We recommend reading [this Plotly article](https://plotly.com/python/renderers/) on how to set renderers and display figures in your preferred IDE.

<table><thead><tr><th>IDE</th><th>Code</th><th data-hidden></th></tr></thead><tbody><tr><td>Jupyter Notebook inside Visual Studio Code</td><td><code>fig.show('vscode')</code></td><td></td></tr><tr><td>JupyterLab</td><td><code>fig.show('jupyterlab')</code></td><td></td></tr></tbody></table>

## Other Issues?

For other problems, please [visit our forum](https://forum.datacebo.com/). You can browse existing issues to see if there's a solution. If you cannot find what you're looking for, create an account and start new thread.

{% hint style="danger" %}
**Important!** If you are encountering an Error, please provide as much detail as possible to help us replicate it. This includes:

* A code snippet to help us replicate the problem. The more easily we are able to recreate the error, the faster we can understand what is going wrong.
* The full stack trace of the code. That is, please copy-paste everything that is printed on your screen as part of the error, including the lines of code.
* Any other information that will allow us to replicate, especially the *metadata* you are using as well as any snippets of *training data*.
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sdv.dev/sdv/support/troubleshooting/sdv-usage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
