Hi All, I'm trying to set up a tap-mongodb and kee...
# troubleshooting
l
Hi All, I'm trying to set up a tap-mongodb and keep running into the below message regardless of how I try to format the 'mongo' setting: Failed to parse JSON object from string: 'mongodb//&lt;user&gt;<password>@atlas-online-archive-<not-needed>.a.query.mongodb.net:27017/&lt;database&gt;?ssl=true&amp;authSource=admin' I'm sure it's a simple issue that I'm just spacing on, but I'd appreciate any help. Thanks
a
mongo
is a mapping that allows you to pass any kwargs directly to pymongo The
host
argument is what you are looking for.
Copy code
config:
  mongo:
    host: mongodb://<user>:<password>@atlas-online-archive-<not-needed>.<http://a.query.mongodb.net:27017/<database|a.query.mongodb.net:27017/<database>>
    authSource: admin
    tls: true
You can put kwargs directly in the mapping like this but in the string is fine too.