# Changelog-sync fails with syntax error on a changelog generated by diff-changelog that append to an existing file

**URL:** <https://forum.liquibase.org/t/changelog-sync-fails-with-syntax-error-on-a-changelog-generated-by-diff-changelog-that-append-to-an-existing-file/9911>\
**Category:** Liquibase Development\
**Created:** [October 31, 2024, 9:03pm UTC](https://forum.liquibase.org/t/changelog-sync-fails-with-syntax-error-on-a-changelog-generated-by-diff-changelog-that-append-to-an-existing-file/9911 "2024-10-31T21:03:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JML](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@JML](https://forum.liquibase.org/u/JML)\
**Post date:** [October 31, 2024, 9:03pm UTC](https://forum.liquibase.org/t/changelog-sync-fails-with-syntax-error-on-a-changelog-generated-by-diff-changelog-that-append-to-an-existing-file/9911/1 "2024-10-31T21:03:26Z")

</div>

Liquibase Pro 4.29.2  
Steps to reproduce:

1. liquibase diff-changelog --changelog-file=existingFile.json
2. liquibase changelog-sync --changelog-file=existingFile.json

> ERROR: Exception Primary Reason: expected ‘’, but found ‘{’  
> in ‘reader’, line 65, column 3:  
> ]}{ “databaseChangeLog”: [  
> ^  
> Could it be fixed, thx

---

<div class="post-metadata">

**Author:** ![mallod](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/mallod/32/1191_2.png) [@mallod](https://forum.liquibase.org/u/mallod)\
**Post date:** [November 12, 2024, 2:50am UTC](https://forum.liquibase.org/t/changelog-sync-fails-with-syntax-error-on-a-changelog-generated-by-diff-changelog-that-append-to-an-existing-file/9911/2 "2024-11-12T02:50:29Z")

</div>

Hi @JML,

Could you please create a GH issue for the issue you are facing? Please add steps to reproduce, current result, and any other information might be useful for our team to reproduce it? Our team will triage the issue and prioritize it. Also, if you would like to contribute with a fix for it, that would awesome as well we will be happy to assist you by providing you any guidance needed.

Thanks,  
Daniel.
