Warning: Incorrect Service Type Selected
Issue
Connection setup tests pass, but the Validating Selection of Service Type test returns the following warning:
Incorrect Service Type selected. Error: Could not determine the service type. Please verify that your source database matches your chosen service type: MONGO.
Environment
Connector: MongoDB
Resolution
To resolve this issue, do the following:
- Check your MongoDB configuration by running the following commands using a shell environment or a MongoDB client:
rs.status()sh.status()
- Confirm that the MongoDB connector type you selected in Fivetran matches your MongoDB configuration. For more information, see our MongoDB supported services documentation.
- Ensure the Fivetran user has permission to run the
replSetGetStatuscommand in MongoDB.
Cause
This issue occurs when we can't verify your MongoDB configuration type. This may happen if the selected connector type doesn't match your configuration or the Fivetran user lacks permission to retrieve replication status.