# Miigration failed for changeset:

**URL:** <https://forum.liquibase.org/t/miigration-failed-for-changeset/10281>\
**Category:** Uncategorized\
**Created:** [March 10, 2025, 7:18am UTC](https://forum.liquibase.org/t/miigration-failed-for-changeset/10281 "2025-03-10T07:18:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kumar](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@Kumar](https://forum.liquibase.org/u/Kumar)\
**Post date:** [March 10, 2025, 7:18am UTC](https://forum.liquibase.org/t/miigration-failed-for-changeset/10281/1 "2025-03-10T07:18:45Z")

</div>

We are using liquibase update command and I am seeing following error

command used:  
liquibase --url=mongodb://XXXXXXXX/test?authSource=admin --changeLogFile=“changeset\_master.xml” update

ERROR:

Running Changeset: **Create\_collection.xml::1** ::XXXX

## UPDATE SUMMARY Run: 0 Previously run: 0 Filtered out: 0 Failed deployment: 1

Total change sets: 1

ERROR: Exception Details  
ERROR: Exception Primary Class: DatabaseException  
ERROR: Exception Primary Reason: liquibase-mongodb extension cannot execute changeset  
Unknown type: liquibase.statement.core.CreateTableStatement  
Please check the following common causes:

- Verify change set definitions for common error such as: changeType name, changeSet attributes spelling (such as runWith, context, etc.), and punctuation.
- Verify that changesets have all the required changeset attributes and do not have invalid attributes for the designated change type.
- Double-check to make sure your basic setup includes all needed extensions in your Java classpath  
ERROR: Exception Primary Source: 4.28.0

Unexpected error running Liquibase: Migration failed for changeset Create\_collection.xml::1::XXX  
Reason: liquibase.exception.DatabaseException: liquibase-mongodb extension cannot execute changeset  
Unknown type: liquibase.statement.core.CreateTableStatement  
Please check the following common causes:

- Verify change set definitions for common error such as: changeType name, changeSet attributes spelling (such as runWith, context, etc.), and punctuation.
- Verify that changesets have all the required changeset attributes and do not have invalid attributes for the designated change type.
- Double-check to make sure your basic setup includes all needed extensions in your Java classpath

---

<div class="post-metadata">

**Author:** ![daryldoak](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/daryldoak/32/764_2.png) [@daryldoak](https://forum.liquibase.org/u/daryldoak)\
**Post date:** [March 10, 2025, 2:15pm UTC](https://forum.liquibase.org/t/miigration-failed-for-changeset/10281/2 "2025-03-10T14:15:43Z")

</div>

Your dbchangelog xsd is set to v3.8. I’m guessing that is the problem.

I recommend changing to dbchangelog-latest.xsd and trying again.

---

<div class="post-metadata">

**Author:** ![Kumar](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@Kumar](https://forum.liquibase.org/u/Kumar)\
**Post date:** [March 10, 2025, 2:42pm UTC](https://forum.liquibase.org/t/miigration-failed-for-changeset/10281/3 "2025-03-10T14:42:36Z")

</div>

I am still seeing same issue.

---

<div class="post-metadata">

**Author:** ![daryldoak](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/daryldoak/32/764_2.png) [@daryldoak](https://forum.liquibase.org/u/daryldoak)\
**Post date:** [March 10, 2025, 2:50pm UTC](https://forum.liquibase.org/t/miigration-failed-for-changeset/10281/4 "2025-03-10T14:50:03Z")

</div>

Add these CLI parameters to see more output details:

`--sql-log-level=INFO --log-level=INFO `

---

<div class="post-metadata">

**Author:** ![Kumar](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@Kumar](https://forum.liquibase.org/u/Kumar)\
**Post date:** [March 10, 2025, 3:22pm UTC](https://forum.liquibase.org/t/miigration-failed-for-changeset/10281/5 "2025-03-10T15:22:44Z")

</div>

ERROR: Exception Details  
ERROR: Exception Primary Class: DatabaseException  
ERROR: Exception Primary Reason: liquibase-mongodb extension cannot execute changeset  
Unknown type: liquibase.statement.core.CreateTableStatement  
Please check the following common causes:

- Verify change set definitions for common error such as: changeType name, changeSet attributes spelling (such as runWith, context, etc.), and punctuation.
- Verify that changesets have all the required changeset attributes and do not have invalid attributes for the designated change type.
- Double-check to make sure your basic setup includes all needed extensions in your Java classpath  
ERROR: Exception Primary Source: 4.28.0

Unexpected error running Liquibase: Migration failed for changeset Create\_collection.xml::1::XXXX:  
Reason: liquibase.exception.DatabaseException: liquibase-mongodb extension cannot execute changeset  
Unknown type: liquibase.statement.core.CreateTableStatement  
Please check the following common causes:

- Verify change set definitions for common error such as: changeType name, changeSet attributes spelling (such as runWith, context, etc.), and punctuation.
- Verify that changesets have all the required changeset attributes and do not have invalid attributes for the designated change type.
- Double-check to make sure your basic setup includes all needed extensions in your Java classpath

For more information, please use the --log-level flag  
mongosh\_command\_url: XXXXX/test?authSource=admin  
Build Sources Directory: D:\AzDOAgents\agent5\_work\2003\s  
Changeset Master File Path: Database\GSSP
