Caused by: liquibase.exception.DatabaseException: Liquibase MongoDB Extension does not support *sql commands Please refer to our documentation for the entire list of supported commands for MongoDB

Hello Team,
I have build spring boot application with liquibase mongodb ext.
If am calling with deprecated method, working fine

Liquibase liquiBase = new Liquibase(changeLogFile, new SpringResourceAccessor(resourceLoader), database);
liquiBase.update(“”);

But am calling with context
Liquibase liquiBase = new Liquibase(changeLogFile, new SpringResourceAccessor(resourceLoader), database);
Contexts contexts = new Contexts(liquibaseContext);
liquiBase.update(contexts, new StringWriter());

getting error like below

Caused by: liquibase.exception.DatabaseException: Liquibase MongoDB Extension does not support *sql commands

Please refer to our documentation for the entire list of supported commands for MongoDB

at liquibase.nosql.lockservice.AbstractNoSqlLockService.getExecutor(AbstractNoSqlLockService.java:94)

at liquibase.ext.mongodb.lockservice.MongoLockService.existsRepository(MongoLockService.java:86)

at liquibase.nosql.lockservice.AbstractNoSqlLockService.hasDatabaseChangeLogLockTable(AbstractNoSqlLockService.java:314)

Am using
org.liquibase.ext
liquibase-mongodb
4.23.0