# Ignore Validation schema for DocumentDB

**URL:** <https://forum.liquibase.org/t/ignore-validation-schema-for-documentdb/7229>\
**Category:** General Discussion\
**Tags:** documentdb, error-303\
**Created:** [August 22, 2022, 5:30pm UTC](https://forum.liquibase.org/t/ignore-validation-schema-for-documentdb/7229 "2022-08-22T17:30:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lyks](https://avatars.discourse-cdn.com/v4/letter/l/71c47a/32.png) [@Lyks](https://forum.liquibase.org/u/Lyks)\
**Post date:** [August 22, 2022, 5:30pm UTC](https://forum.liquibase.org/t/ignore-validation-schema-for-documentdb/7229/1 "2022-08-22T17:30:01Z")

</div>

Good day! I’m setting up Liquibase for AWS Documentdb. I use mongo java driver and extensions. When running liquibase update, I got the following error:

```auto
Command failed with error 303: 'Field 'validator' is currently not supported' on server *
<DOCUMENT DB URL>. The full response is {"ok": 0.0, "code": 303, "errmsg": "Field 'validator' is *
currently not supported"}*

```

I’m using Liquibase Version: 4.15.0. Tried placing the following on liquibase.properties but issue persists:

```
       *liquibase.mongodb.supportsValidator: false*

```

Hope you could help 🙏

---

<div class="post-metadata">

**Author:** ![tabbyfoo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/tabbyfoo/32/748_2.png) [@tabbyfoo](https://forum.liquibase.org/u/tabbyfoo)\
**Post date:** [August 30, 2022, 7:37pm UTC](https://forum.liquibase.org/t/ignore-validation-schema-for-documentdb/7229/2 "2022-08-30T19:37:39Z")

</div>

> [@Lyks](#):
>
> `'Field 'validator' is currently not supported' on server *`

This error relates to DocumentDB and not Liquibase. It means that you’re using a field that is not supported by DocumentDB. I looked up the DocumentDB documentation, and that command is not listed  
[https://awscli.amazonaws.com/v2/documentation/api/latest/reference/docdb/index.html](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/docdb/index.html)

---

<div class="post-metadata">

**Author:** ![kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/kevin/32/244_2.png) [@kevin](https://forum.liquibase.org/u/kevin)\
**Post date:** [October 25, 2023, 10:50pm UTC](https://forum.liquibase.org/t/ignore-validation-schema-for-documentdb/7229/3 "2023-10-25T22:50:57Z")

</div>

This is a late response, but hopefully this helps you (and others) get past the validator issue.

> [@Liquibase support DocumentDB](https://forum.liquibase.org/t/liquibase-support-documentdb/5908/5):
>
> Here is a likely [workaround](https://github.com/liquibase/liquibase-mongodb/issues/244) for the DocumentDB “Document Validation” error when using the MongoDB extension to manage DocumentDB emulating MongoDB 4.0. Set this system property to get past the error: System.setProperty("liquibase.mongodb.supportsValidator", "false Here is the full [tutorial on using DocumentDB via Mongo DB emulation](https://docs.liquibase.com/start/tutorials/mongodb/mongodb-pro-amazon-documentdb.html).
