Unable to set cluster on trigger creation for collection-level trigger

Hello,
I am trying to create a new trigger on a free tier cluster. The trigger is of database type and at the collection level. However, when I attempt to set the cluster, I do not see any options available.
As you can see on this screenshot

Thanks

Hi @Juanjo_Martin_Cara and welcome to the MongoDB Forums!

Just tried it on an AWS, free tier M0 cluster and I’m able to select my cluster. I just went through these two screens:

And then:

Can you try to create a new project in your organization, then create a new free cluster in a different cloud provider / region to find the root cause of the error?

Again, welcome to the MongoDB community and hope this helps!

Hi @Juanjo_Martin_Cara ,

This is usually because there’s no Data Source linked to the application that contains the Trigger: there’s a Linked Data Sources menu item on the left, ensure that the page contains a reference (Service Name) to the Cluster you want to work with.

This is it! The data source was not selected.
I find it a bit unintuitive that this option is literally the last one in the list but I added my cluster there and solved the issue.
Thanks!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.