# unexpectedChangesets command not working as expected (API)

**URL:** <https://forum.liquibase.org/t/unexpectedchangesets-command-not-working-as-expected-api/10400>\
**Category:** General Discussion\
**Created:** [April 16, 2025, 11:09am UTC](https://forum.liquibase.org/t/unexpectedchangesets-command-not-working-as-expected-api/10400 "2025-04-16T11:09:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreiCatinean](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@AndreiCatinean](https://forum.liquibase.org/u/AndreiCatinean)\
**Post date:** [April 16, 2025, 11:09am UTC](https://forum.liquibase.org/t/unexpectedchangesets-command-not-working-as-expected-api/10400/1 "2025-04-16T11:09:47Z")

</div>

CommandScope unexpectedChangets doesn’t return the result in a Object; It is just printed on the screen. Liquibase 4.31.0

I think this is a defect because the status command actually returns the result in a machine readable form.

This can create compatibility issues in case of message changing.

Thank you

---

<div class="post-metadata">

**Author:** ![Pete](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/pete/32/184_2.png) [@Pete](https://forum.liquibase.org/u/Pete)\
**Post date:** [April 18, 2025, 7:08pm UTC](https://forum.liquibase.org/t/unexpectedchangesets-command-not-working-as-expected-api/10400/2 "2025-04-18T19:08:00Z")

</div>

Thanks @AndreiCatinean! The best way to get attention on this is to file an issue in the liquibase/liquibase repo on GitHub. [GitHub · Where software is built](https://github.com/liquibase/liquibase/issues)
