Common Problems with MongoDB

Is your database IP restricted?

This is useful if you use a non-AWS host, for example: Rackspace, HostGator, Linode, DigitalOcean, etc. Zapier connections currently come from static IP addresses. Zapier will make connections to your database from an IP located in the us-east-1 region. A list of those IPs can be found at the following URL in JSON format:

Is your database in a VPC?

If your database is hosted within a VPC, it might not be assigned a public-facing IP address. On AWS, for example, you would need to assign an Elastic IP in a public-facing VPC subnet.

Not all documents are triggering the zap

Check the field you are using for the Order By Field. Although the help text suggests using the _id field, it's possible that the ID field in your database doesn't auto-increment or have the timestamp encoded into it. Sometimes Mongo randomly generates characters for the ID field, and if you order by that field, we'll sort the results in reverse alphabetical order. Once you have over 100 results, any new documents with an ID that starts with a letter in the beginning of the alphabet or with a number will be missed.

To fix, make sure to use an Order By Field that is either a timestamp or an auto incremented number.

Was this article helpful?
0 out of 0 found this helpful