Error 1006 - Invalid database hostname

Last updated on Oct 21, 2022
Error Code 1006
Error Message Text(s) - ‘{hostname}’ is an invalid MongoDB database hostname. The hostname must be a DNS hostname or an IP address accessible over the internet. In case the database cannot be made accessible over the internet, consider enabling an SSH tunnel.

- ‘{hostname}’ is an invalid MongoDB Atlas database hostname. The hostname must be a DNS hostname or an IP address accessible over the internet. In case the database cannot be made accessible over the internet, consider enabling an SSH tunnel.

Potential Causes

  • The database hostname is incorrect.

Suggested Actions

  • Verify that the hostname entered in the Configure your Source page is correct.

  • Use the Connection String mode to enter the details if a connection string is used to setup the MongoDB Source.

  • Use the Connect via SSH option to set up the Source if the MongoDB instance is on a local IP address.

  • Invite another team member with the required privileges to set up the Pipeline. Read Inviting and Moderating Team Members.


Revision History

Refer to the following table for the list of key updates made to this page:

Date Release Description of Change
Sep-05-2022 NA Brought this page under its respective Source documentation folder.
Sep-20-2021 1.72 New document.

Tell us what went wrong