How to make AWS Glue Crawler connection to mongodb

198 views Asked by At

We are having trouble getting AWS Glue Crawler to make connection to our mongodb. The mongodb is publically accessible

But we get the following error

[cb423c7c-b0ef-4649-92ea-c784ddd4aa96] ERROR : Unable to resolve any valid connection (Service: AWSGlueJobExecutor; Status Code: 400; Error Code: InvalidInputException; Request ID: 9148b2a0-cb4e-41b6-982f-6cdd881b3859; Proxy: null)

Although unsure why this is occuring.

enter image description here

1

There are 1 answers

2
SwathiP On

The database name is missing in the URL. The connection URL should be mongodb://host:port/database