Error while setting up destination for MongoDB Atlas

Summary

The user is encountering an error while setting up a destination for MongoDB Atlas due to an issue with the connection string format.


Question

Hi All,

```I am trying to make destination for MongoDb for MongoDb Atlas. For this i am passing cluster URL as mongodb+srv://<username>:<password>@<host-url>/?retryWrites=true&w=majority&appName=<demo-app>. But i am getting error:

Configuration check failed
java.lang.IllegalArgumentException: The connection string contains an invalid host ‘mongodb+srv:’. The port ‘’ is not a valid, it must be an integer between 0 and 65535```
Any help or guidance is appreciated. Thanks



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want to access the original thread.

Join the conversation on Slack

["mongodb-connector", "mongodb-atlas", "destination", "connection-string", "error"]