# Liquibase mongo issue

**URL:** <https://forum.liquibase.org/t/liquibase-mongo-issue/8575>\
**Category:** General Discussion\
**Created:** [August 24, 2023, 1:35pm UTC](https://forum.liquibase.org/t/liquibase-mongo-issue/8575 "2023-08-24T13:35:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pooja](https://avatars.discourse-cdn.com/v4/letter/p/a5b964/32.png) [@Pooja](https://forum.liquibase.org/u/Pooja)\
**Post date:** [August 24, 2023, 1:35pm UTC](https://forum.liquibase.org/t/liquibase-mongo-issue/8575/1 "2023-08-24T13:35:23Z")

</div>

Hello,

I am trying to use liquibase-mongodb extension with Liquibase-maven -plugin  
following are the versions i am using :  
\<liquibase-core.version\>4.23.0\</liquibase-core.version\>  
\<liquibase-maven-plugin.version\>4.23.0\</liquibase-maven-plugin.version\>  
\<liquibase-mongodb.version\>4.23.0\</liquibase-mongodb.version\>

Below is my property file:  
changeLogFile=src/main/resources/db/master.xml  
url=mongodb://Insight.com:2052/web\_db?authSource=web\_db  
username=user  
password:password  
driver=liquibase.ext.mongodb.database.MongoClientDriver

But when i try to execute using : mvn clean install it gives my this error:  
[ERROR] Error setting up or running Liquibase:  
[ERROR] liquibase.exception.LockException: liquibase.exception.DatabaseException: Could not execute: Command failed with error 13 (Unauthorized): 'not authorized on web\_db to execute command

I am sure the user i am using has read and write both permissions, i am able to login with that user and execute all sort of DDL and DML. but its not working from liquibase.

Can someone please help ?  
am i using the correct configurations?

---

<div class="post-metadata">

**Author:** ![Pooja](https://avatars.discourse-cdn.com/v4/letter/p/a5b964/32.png) [@Pooja](https://forum.liquibase.org/u/Pooja)\
**Post date:** [August 25, 2023, 2:14am UTC](https://forum.liquibase.org/t/liquibase-mongo-issue/8575/2 "2023-08-25T02:14:36Z")

</div>

@ronak@Adiltst any update?
