I get the following error when using a JSON formatted change log…
ERROR: Exception Primary Reason: while scanning for the next token
found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
in 'reader', line 2, column 1:
{
^
ERROR: Exception Primary Source: Microsoft SQL Server 17.00.4050
Unexpected error running Liquibase: Error parsing db.changelog.json : Syntax error in file latest/db.changelog.json: while scanning for the next token
found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
in 'reader', line 2, column 1:
{
^
The JSON change log file starts like this…
{"databaseChangeLog": [
{
"includeAll": {
"errorIfMissing": true,
"path": "objects/dbo/tables",
"relativeToChangelogFile": true
}
},
I'm not a developer, but I'm sure that JSON doesn't care how indentation is done. The error makes me thing Liquibase thinks it is parsing a YAML file.
I’m using…
Liquibase Secure at 14:00:14 using Java 21.0.10 (version 5.1.1 #59 built at 2026-03-26 15:14:01 UTC)
What am I doing wrong?