# I cannot build doc document

**URL:** <https://discourse.greatexpectations.io/t/i-cannot-build-doc-document/2324>\
**Category:** GX Core Support\
**Created:** [January 20, 2026, 4:12am UTC](https://discourse.greatexpectations.io/t/i-cannot-build-doc-document/2324 "2026-01-20T04:12:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kris](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@kris](https://discourse.greatexpectations.io/u/kris)\
**Post date:** [January 20, 2026, 4:12am UTC](https://discourse.greatexpectations.io/t/i-cannot-build-doc-document/2324/1 "2026-01-20T04:12:42Z")

</div>

## **Problem Description**

I’m working with Great Expectations and having issues with Data Docs generation. The validation runs successfully, but the Data Docs are not being created or updated as expected.

## **Code Context**

Here’s the relevant portion of my script where I configure the checkpoint and attempt to generate Data Docs:

```auto
python

```

_`# Using Checkpoint to run validation and generate docs`_  
`validation_definitions = [`  
` context.validation_definitions.get("dim.pub_user_VALIDATION")`  
`]`  
`action_list = [`  
` UpdateDataDocsAction(`  
` name="update_all_data_docs",`  
` ),`  
`]`  
`checkpoint = gx.Checkpoint(`  
` name="my_checkpoint",`  
` validation_definitions=validation_definitions,`  
` actions=action_list,`  
` result_format={"result_format": "COMPLETE"},`  
`)`

_`# Save and run the Checkpoint`_  
`context.checkpoints.add_or_update(checkpoint)`  
`validation_result = checkpoint.run()`

I have also tried uncommenting the manual Data Docs generation code:

```auto
python

```

_`# Manual Data Docs generation (currently commented out)`_  
_`# site_config = {`_  
_`# "class_name": "SiteBuilder",`_  
_`# "site_index_builder": {"class_name": "DefaultSiteIndexBuilder"},`_  
_`# "store_backend": {`_  
_`# "class_name": "TupleFilesystemStoreBackend",`_  
_`# "base_directory": "uncommitted/data_docs/local_site/",`_  
_`# },`_  
_`# }`_  
_`# context.add_data_docs_site(site_name="my_data_docs_site", site_config=site_config)`_  
_`# context.build_data_docs(site_names=["my_data_docs_site"])`_

## **Expected vs Actual Behavior**

- **Expected** : Data Docs should be generated at `uncommitted/data_docs/local_site/index.html`

- **Actual** : No Data Docs are being created despite successful validation execution

The script runs without errors, but I cannot find the expected HTML documentation files. What could be causing this issue and how can I properly configure Data Docs generation?

---

<div class="post-metadata">

**Author:** ![Han](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@Han](https://discourse.greatexpectations.io/u/Han)\
**Post date:** [January 20, 2026, 7:33am UTC](https://discourse.greatexpectations.io/t/i-cannot-build-doc-document/2324/2 "2026-01-20T07:33:16Z")

</div>

Your settings look right. Not sure what else is missing.

Could you try _context_.open\_data\_docs() to see if it opens any doc and/or throws error?
